]> git.tdb.fi Git - libs/game.git/commit
Only update transform component if the physics body is dynamic
authorMikko Rasa <tdb@tdb.fi>
Sun, 13 Apr 2025 15:02:37 +0000 (18:02 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 14 Apr 2025 10:17:49 +0000 (13:17 +0300)
commitb98ddfe7343cb2bb45e488c91ec2b1c23fea2f87
tree43d914b6aa528e311311e609294eb24880c9a217
parentc1940971ed80bf6cfe73e076285f283c806fbc9c
Only update transform component if the physics body is dynamic

The simulation does not affect static bodies at all and kinematic bodies
are expected to end up in the externally specified position.
source/game/physicssystem.cpp