diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-12-23 20:04:22 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-12-23 20:04:22 -0700 |
commit | 11bee25de4d07497d3bb8f3165937c879f0c9ef8 (patch) | |
tree | 630ff4008557d6ff0b8d7657683454c6561be821 /scene/2d/light_2d.h | |
parent | 0923494c78130d69ff6d53737c53e5b6cfc163a2 (diff) |
Update body transforms on joint2D setup
Body transforms from physics are used to setup the joint and they are
only updated before the physics step by default.
Without forcing the transform update, joints could use a previous
position if the body's position was set after it was added to the scene.
3D physics is not affected by this issue.
Diffstat (limited to 'scene/2d/light_2d.h')
0 files changed, 0 insertions, 0 deletions