Hi all,
as the title said what’s the best way to manipulate the rigid body?
here’s my method:
var mat:Matrix3D = rigidBody.transform;
mat.prependRotation(pitch, Vector3D.X_AXIS);
mat.prependRotation(yaw, Vector3D.Y_AXIS);
mat.prependRotation(roll, Vector3D.Z_AXIS);
rigidBody.transform = mat;