Combine movement update systems #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The velocity-to-position integration and position-to-transform assignment can run in any order. This means the true location, controlled by the
Position(Vec2)component can have a different location that theTransformcomponent paints on screen.The velocities are small enough that this probably doesn't matter for gameplay, but it is a bug.
Issue invalidated by
e834d94b8a.It wasn't necessary to have the
Positioncomponent at all. Rather than controlling execution order, I've just removed the redundant component.The ordering between linear velocity and angular velocity calculations is not important within a single frame. That isn't an issue, either.