In my game when my character collides with the Top of an enemy,
I have it set to bounce him in the air.but some times it launches my
Character really high in the air... how can I limit it to a certain velocity?
My code now is just:
Enemy- collision- bottom side of player- reapeat no- script editor-
- Code: Select all
player.yvelocity=player.yvelocity - 20;
Thanks to whom will help!