Browse Source
Added to characterJoint
INLINE const LMatrix4 &get_transform() const;
CPT(TransformState) get_transform_state() const;
This is to reduce the code bloat for freezing a joint using actor.
Previously, freezing a joint (using its current transform required two temporary
initailizations, a Mat4() and a TransformState in python.
tmat = tmat4(); joint.getTransform( tmat); tstate = TransformState( tmat);
freeze(..., transform = tstate )
now this can be collapsed down to
freeze( ..., transform = joint.getTransformState() )