Debug moonjump and cirno's height adjustment

This commit is contained in:
Marco 2025-06-29 12:50:13 +02:00
commit 49867f849b
2 changed files with 12 additions and 4 deletions

View file

@ -105,8 +105,17 @@ public partial class IsoMovementModule : ModuleBase<PlayerState, CharacterBody3D
//frameVelocity.Y = velocityY;
// Debug moonjump
if (Input.IsKeyLabelPressed(Key.Z))
{
//velocityY -= (float)(100 * delta);
velocityY = 10;
}
MainObject.Velocity = frameVelocity.ToVector3(velocityY);
MainObject.MoveAndSlide();
}
}