diff --git a/Code/Game/GameLogic/Player.cpp b/Code/Game/GameLogic/Player.cpp index bc862553..235fab13 100644 --- a/Code/Game/GameLogic/Player.cpp +++ b/Code/Game/GameLogic/Player.cpp @@ -146,7 +146,8 @@ void Player::Rotate(const Oyster::Math3D::Float4 lookDir) void Player::Jump() { - + Oyster::Math::Float3 up = currPhysicsState.GetOrientation().v[1]; + newPhysicsState.ApplyLinearImpulse(up * 2000 * this->gameInstance->GetFrameTime()); } bool Player::IsWalking()