Jump height is constant for the double jump.
This commit is contained in:
@@ -95,7 +95,7 @@ void PlayerMovementSystem::Update(double dt)
|
|||||||
} else {
|
} else {
|
||||||
controller->SetDoubleJumping(true);
|
controller->SetDoubleJumping(true);
|
||||||
}
|
}
|
||||||
velocity.y += 4.f;
|
velocity.y = 4.f;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player.HasComponent("AABB")) {
|
if (player.HasComponent("AABB")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user