Platformer Linear Velocity X speed vs. Y jump
Here's what's happening.
I have an actor moving on Linear Velocity X of 300
When I modify the Linear Velocity Y to 400 @90 degrees, the actor jumps. It works great.
When I change the Linear Velocity X to 600
The actor is not jumping as high as previously.
When I change X to 1000
The actor hardly can get off the ground.
Is there something funky happening? Or do I need to increase the Velocity Y as the actor moves faster? This also is affecting my gravity (Acceleration downward @1000). The faster on the X the slower the actor will fall too.
Any insight would be greatly appreciated.
I have an actor moving on Linear Velocity X of 300
When I modify the Linear Velocity Y to 400 @90 degrees, the actor jumps. It works great.
When I change the Linear Velocity X to 600
The actor is not jumping as high as previously.
When I change X to 1000
The actor hardly can get off the ground.
Is there something funky happening? Or do I need to increase the Velocity Y as the actor moves faster? This also is affecting my gravity (Acceleration downward @1000). The faster on the X the slower the actor will fall too.
Any insight would be greatly appreciated.
Comments
for example velocity.x set at 100 and velocity y at 100 will cause your actor to move at a 45 degree angle. But say you bump the x to 200 then now your going to move around 30 degrees and if you revers them so you velocity.y is 200 and velocity.X is 100 your moving more like a 60 degree angle.
A better way to do a jump is do Accelerate up (direction 90) at a speed of lets say 100. You can play with the speed but that will give your forward moving actor a bump straight up in the air.
Hope that helps.
Cheers
accelerate at 10,000 gets the actor off the ground but hardly. It seems that I need to exponentially multiply the jump value as the actor moves faster in the scene.
I need to keep the same jump height weather the actor is moving at 0 sped or 1000 speed.
what do you mean what kind of destiny?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
im pullin my hair out here and im like... destiny??? wth? lol
actor is 500
velocity x = 650 (top speed)
velocity y (single jump) = velocity.x * velocity.x
velocity y (double jump) = (velocity.x * velocity.x) *2
Grav (accelerate downward) = 5* velocity.x
Density = 100
Frict = 10
This get's the actor moving and jumping at a good height at max speed. Need to figure out how to keep the same height at slower speeds.