Blender Git Loki
Git Commits -> Revision 1aa54d4
Revision 1aa54d4 by Sebastian Parborg (master) September 2, 2020, 12:20 (GMT) |
Make rigidbody simulation handle animated objects gracefully The animated objects was not updated for each internal substep for the rigidbody sim. This would lead to unstable simulations or very annoying clipping artifacts. Updated the code to use explicit substeps and tie it to the scene frame rate. Fix T47402: Properly updating the animated objects fixes the reported issue. Reviewed By: Brecht, Jacques Differential Revision: https://developer.blender.org/D8762 |
Commit Details:
Full Hash: 1aa54d4921c2e8d7114f463a940c169ee573f557
Parent Commit: feb4b64
Lines Changed: +358, -50
2 Added Paths:
/intern/rigidbody/RBI_hull_api.h (+43, -0) (View)
/intern/rigidbody/rb_convex_hull_api.cpp (+83, -0) (View)
/intern/rigidbody/rb_convex_hull_api.cpp (+83, -0) (View)
16 Modified Paths:
/extern/bullet2/CMakeLists.txt (+13, -0) (Diff)
/intern/rigidbody/CMakeLists.txt (+4, -0) (Diff)
/intern/rigidbody/RBI_api.h (+4, -2) (Diff)
/intern/rigidbody/rb_bullet_api.cpp (+10, -0) (Diff)
/release/scripts/startup/bl_ui/properties_scene.py (+2, -2) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+7, -1) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+132, -33) (Diff)
/source/blender/blenlib/BLI_math_vector.h (+4, -0) (Diff)
/source/blender/blenlib/intern/math_vector_inline.c (+18, -0) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+18, -0) (Diff)
/source/blender/bmesh/CMakeLists.txt (+5, -0) (Diff)
/source/blender/bmesh/operators/bmo_hull.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_rigidbody_types.h (+2, -2) (Diff)
/source/blender/makesdna/intern/dna_rename_defs.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_rigidbody.c (+6, -6) (Diff)
/source/blender/modifiers/CMakeLists.txt (+5, -3) (Diff)
/intern/rigidbody/CMakeLists.txt (+4, -0) (Diff)
/intern/rigidbody/RBI_api.h (+4, -2) (Diff)
/intern/rigidbody/rb_bullet_api.cpp (+10, -0) (Diff)
/release/scripts/startup/bl_ui/properties_scene.py (+2, -2) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+7, -1) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+132, -33) (Diff)
/source/blender/blenlib/BLI_math_vector.h (+4, -0) (Diff)
/source/blender/blenlib/intern/math_vector_inline.c (+18, -0) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+18, -0) (Diff)
/source/blender/bmesh/CMakeLists.txt (+5, -0) (Diff)
/source/blender/bmesh/operators/bmo_hull.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_rigidbody_types.h (+2, -2) (Diff)
/source/blender/makesdna/intern/dna_rename_defs.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_rigidbody.c (+6, -6) (Diff)
/source/blender/modifiers/CMakeLists.txt (+5, -3) (Diff)