- Home /
Is Physics.SyncTransforms() automatically called in built game?
I have a weird game behavior:
in built game player is perfectly parented to a moving platform and keeps the position relative to the platform pretty smooth.
in play mode the behavior is completely different. Moving platform is completely out of sync with player and the result is player is automatically unparented immediately (because of some specific conditions like ground check etc.). I'm using character controller component only to move the player and detecting ground etc. on my own.
I can fix the issue in play mode by Physics.SyncTransforms(). Does anybody have an idea why this issue doesn't happen in built game? I understand frame rate is much better in built game but still I would expect at least some minor issues.
Your answer
Follow this Question
Related Questions
Clamping rigidbody's Z position causing issues in the editor, when transform hits zero on Z axis 0 Answers
stop vehicle from moving through walls 1 Answer
Moving a kinematic object a fixed distance over a set time with physics in mind 2 Answers
Using Add Force for character control 1 Answer
Moving child transform also moves parent rigidbody 0 Answers