mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
This patch adds the following R/W properties and method to `KX_GameObject`: - `linearDamping` -- get/set linear damping - `angluarDamping` -- get/set angular damping - `setDamping(linear, angular)` -- set both simultaneously These allow runtime changes to the same properties that are accessible at design time in Blender's UI via `game.damping` and `game.rotation_damping`. The names of the properties were chosen to mirror the internal names of the BGE physics engine, as these are (AFAIK) also the commonly used names in physics literature. Reviewers: campbellbarton Projects: #game_physics Differential Revision: https://developer.blender.org/D936 |
||
|---|---|---|
| .. | ||
| blender-org | ||
| epy | ||
| examples | ||
| rst | ||
| rst_from_bmesh_opdefines.py | ||
| sphinx_changelog_gen.py | ||
| sphinx_doc_gen.py | ||
| sphinx_doc_gen.sh | ||
| sphinx_doc_gen_monkeypatch.py | ||