Blender Git Commit Log

Git Commits -> Revision 53069d4

Revision 53069d4 by Lukas Toenne (hair_system, testbuild)
July 31, 2014, 14:38 (GMT)
Extended RigidBodyWorld stepping function with a tick callback.

This will allow hooking other simulations (e.g. hair) into the Bullet
time step loop to enable sync'ed stepping of Bullet and other solvers
for accurate collision response.

This means that more solvers have to become global (instead of object-
based), but that was a design goal anyway for reasons of avoiding
dependency issues.

The Bullet time step will have to be run more generally if there are
other simulations. In particular it should still be executed even when
rigid bodies are cached, because the collision info may be needed. In
case of cached rigid bodies it would probably be sufficient to make them
all kinematic bodies, so that no calculation takes place for the rigid
bodies themselves, while their collision shapes are still available and
interpolated between cache frames.

Commit Details:

Full Hash: 53069d44cfe434b08209820dc4d566829d5cf0bb
Parent Commit: a6f5c4e
Lines Changed: +62, -10

5 Modified Paths:

/intern/rigidbody/RBI_api.h (+5, -1) (Diff)
/intern/rigidbody/rb_bullet_api.cpp (+24, -1) (Diff)
/source/blender/blenkernel/BKE_rigidbody.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+12, -5) (Diff)
/source/blender/blenkernel/intern/scene.c (+20, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021