940f3fde5c
Makes the API for forces and impulses more flexible, easier to understand and harmonized between 2D and 3D. Rigid bodies now have 3 sets of methods for forces and impulses: -apply_impulse() for impulses (one-shot and time independent) -apply_force() for forces (time dependent) applied for the current step -add_constant_force() for forces that keeps being applied each step Also updated the documentation to clarify the different methods and parameters in rigid body nodes, body direct state and physics servers. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
animation | ||
audio | ||
debugger | ||
gui | ||
main | ||
resources | ||
SCsub | ||
property_utils.cpp | ||
property_utils.h | ||
register_scene_types.cpp | ||
register_scene_types.h | ||
scene_string_names.cpp | ||
scene_string_names.h |