You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RigidBody3Ds sometimes ignore updates to their transform made immediately after being instantiated.
Only seems to happen if spawned from _input event e.g.
Workaround: defer the positioning of the body with set/call_deferred
Steps to reproduce
A rigidbody can ignore initial updates to transform if all of the following criteria are met:
Instantiation/positioning happens in the _input event
A VehicleBody3D with a VehicleWheel3D child is present in the scene
Jolt is being used for physics
Lower framerates make the positioning fail more often
Minimal reproduction project (MRP)
origin-error-mrp.zip
Press space to spawn a rigid body, or tick Auto spawn to continually spawn rigid bodies.
Tick VehicleBodyFrozen to freeze the invisible vehicle body in scene to see the issue disappear