Hi, my player is a ball that has Physics Simulation on and is controlled through Impulses. I added a jump using it. I want the player to have a small jump but that little jump gets higher the more speed you have. So, I want to get a float that is the speed of the player and multiply it to make this mechanic possible. How do I get that float?
Jump:
2 Likes
Hi @JoeBox9!
If you are just needing to get the velocity of your ball, you can get that by using the “Get Physics Linear Velocity” node that returns the linear velocity of a body/actor:
Was there any other factors that may be important to your jumping?
If not, I hope the above solution works for you!
1 Like