Mid air freeze solution

Godot Version

4.2.2 stable

Question

How do i freeze a players position without affecting time,
I want to freeze the player because if the jump before hitting the hit box so physics is still applied and i dont no how to stop the physics

1 Like

It’s a bit unclear what you’re trying to achieve. And are you using CharacterBody2D for your player?

yeah sorry about that it was 12 am but yes i am useing a character body 2d

Perhaps look at disable mode

CharacterBody2D inherits this property

i fixed it by just setting velocity to 0, this didnt work before though cause i forgot to set velocity.y to 0

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.