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
Issue description:
When the state of a KinematicBody2D is set using Physics2DServer.body_set_state() it is not updated immediately, when called Physics2DServer.body_get_state() still returns the old state. It seems to only be updated the next physics frame.
Steps to reproduce:
Set state of KinematicBody2D using the physics server and then request the current state.
Modifying the transform of the result of body_get_direct_state also do not work, if this is not possible then Kinematic Bodies will need a safe method for warping it around the screen.
Godot version:
3.0.3
Issue description:
When the state of a KinematicBody2D is set using Physics2DServer.body_set_state() it is not updated immediately, when called Physics2DServer.body_get_state() still returns the old state. It seems to only be updated the next physics frame.
Steps to reproduce:
Set state of KinematicBody2D using the physics server and then request the current state.
Minimal reproduction project:
Physics2DTest.zip
Press the button, it will set the state and print whether it is equal to the value it was set to.
The text was updated successfully, but these errors were encountered: