Blender Git Loki

Git Commits -> Revision 42e8f3e

Revision 42e8f3e by Sergej Reich (master)
April 7, 2013, 14:09 (GMT)
rigidbody: Fix/workaround for transforming rigid bodies with parents

Since we use the rigid body transform when transforming rigid bodies
things like parents and constraints add an offset because rigid body
transforms are in global space.

Now we just don't take rigid body transform into account on simulation
start frame so there are no problems when doing the initial setup.

The problem still exists when simulation is running of course.
To properly fix this we'd have to solve parenting and constratins while
taking rigid bodies into account before and after transform.
We'll have to see if it's really needed, would like to avoid it though.

Commit Details:

Full Hash: 42e8f3e88971a320c4204d5386f740b23b4ecf16
SVN Revision: 55880
Parent Commit: fd6a962
Lines Changed: +33, -21

3 Modified Paths:

/source/blender/blenkernel/BKE_rigidbody.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+8, -5) (Diff)
/source/blender/editors/transform/transform_conversions.c (+24, -16) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021