flying knockback as well
Some checks failed
Create tag and build when new code gets to main / BumpTag (push) Successful in 19s
Create tag and build when new code gets to main / Export (push) Has been cancelled

This commit is contained in:
2026-01-18 16:58:23 +01:00
parent 35b9ea383c
commit eb1c7f78fa
8 changed files with 33 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ public partial class CGroundedMovement : Node3D, IMoveable
if (WallInFrontRayCast.IsColliding())
velocity.Y = RMovement.Speed;
else if (!inputs.isOnFloor)
velocity += inputs.gravity * (float)inputs.delta;
velocity += inputs.gravity * (float)inputs.delta * RMovement.GravityModifier;
return velocity;
}