diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-01-05 17:15:51 +0100 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-01-05 17:35:49 +0100 |
commit | fc1f0d76e713ae49d253dd3934ea79599a70b94a (patch) | |
tree | 8c602215e513139fef8c05bf282a5374da033b52 /servers/visual_server.cpp | |
parent | 2299fb819808f5cab5140d31abe7e4dc0b0707df (diff) |
Don't update the floor_velocity with the current linear_velocity.
Updating the floor velocity with the body's current linear velocity
discards the velocity component provided by the body's angular
rotation. Without the current contact point there is no way to calculate
the current velocity component provided by the body's angular rotation
therefore we need to use the velocity calculated at the time of the
collision.
Fixes #34807.
Diffstat (limited to 'servers/visual_server.cpp')
0 files changed, 0 insertions, 0 deletions