mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-23 06:45:13 +00:00
Fixing movements
This commit is contained in:
@@ -22,6 +22,6 @@ namespace BBM
|
||||
auto &controllable = entity.getComponent<ControllableComponent>();
|
||||
auto &movable = entity.getComponent<MovableComponent>();
|
||||
|
||||
movable.addForce(Vector3f(controllable.moveX, 0, controllable.moveZ));
|
||||
movable.addForce(Vector3f(controllable.moveX, controllable.jump, controllable.moveZ));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user