mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:05:34 +00:00
Debug moonjump and cirno's height adjustment
This commit is contained in:
parent
bdc93b93fa
commit
49867f849b
2 changed files with 12 additions and 4 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue