The project: PlayCanvas 3D HTML5 Game Engine
(Jump 2 is currently loaded)
So I return seeking more help. I have two jump functions that I’d want to effectively combine but I’m not sure how to go about it. Jump implements an attribute that disallows air jumping and being able to continuously press the button to continue jumping. However, the jump doesn’t apply the impulse all the time there will be moments during the game the character won’t jump despite the animation playing.
Jump 2 fixes the problem of sometimes not working, however, the issue then becomes figuring out how to keep the player from continuously jumping and I doubt you can just ask someone to not press the button over and over.