diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-09-29 18:25:00 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-09-29 18:30:57 -0700 |
commit | 6e6f292f154945654fcd752d5f9ee643d878cc59 (patch) | |
tree | 5eb901fa84d50f9d99bac9b5b3eeed658c26d1d7 /misc | |
parent | f72419d1525f2e5fe08f81a8fe06af3831c71c3e (diff) |
Fix AnimatableBody moving and colliding during the first frame
_update_kinematic_motion() shouldn't be called in the constructor
It's too early and causes a first call to set the body position to 0.
Then the second call to set the actual position triggers kinematic
motion, colliding with objects on the path to the initial position.
Side effect of sync to physics now enabled by default.
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions