Moderators: Sascha Willems, walaber
MeshOfTire.transform.position = body.Position;
blackbird_dream wrote:when I update the position of the mesh in the OnApplyForceAndTorque event
- Code: Select all
MeshOfTire.transform.position = body.Position;
the 2 axes (mesh's center & newtonbody's center) coincide but there is still a gap with the Newtonbody gizmo's center.
I don't understand why the mesh position has to be updated this way and why the gap.
It seems like problems of synchronizing objects and joint's softness combined.
Users browsing this forum: No registered users and 11 guests