Ball physics
Hi,
I'm drawing a line (in a bow like a ski jump) and having a 32x32 sized ball roll down it and "jump" off of the other end. The problem I have is that no matter how much I play about with the density, friction etc. of the ball, it just falls off of the jump (rather than flying through the air). Does anyone know any good tips for configuration so I can make my ball fly through the air? I've tried making density lighter, gravity lighter or heavier but I just can't seem to make it work. I'm using iphone landscape so I think I don't have a big enough run up, but hoping to somehow 'cheat' the system a little.
Anyone have any great tips here?
Thanks!
I'm drawing a line (in a bow like a ski jump) and having a 32x32 sized ball roll down it and "jump" off of the other end. The problem I have is that no matter how much I play about with the density, friction etc. of the ball, it just falls off of the jump (rather than flying through the air). Does anyone know any good tips for configuration so I can make my ball fly through the air? I've tried making density lighter, gravity lighter or heavier but I just can't seem to make it work. I'm using iphone landscape so I think I don't have a big enough run up, but hoping to somehow 'cheat' the system a little.
Anyone have any great tips here?
Thanks!
Comments
Get rid of gravity altogether and use 'accelerate'
Like this:
http://www.mediafire.com/?1b29c1d9w3f1hh1
Your iPhone screen size will have zero effect on what can be achieved with the physics engine.
All the in game gravity is, is an accelerate behavior that effect everything. So besides being able to turn it off and adjust it with attributes, or have it only effect one object, theres no difference between the 2. So Going from game gravity to an accelerate down behavior with the same ammount, it wont effect the actor any different.
Did you try adding some velocity on the x axis like i said?
@Tynan … thanx for another great demo … think it's time you combined those beauties into a collection!
not only do they absolutely solve the problem … they are Fun to play with!
and, JohnP … is giving you good advice HappyKat! if you want the actor to move/fly further, tell it so!
@};- MH
Theres a very basic demo just to see what im talking about. It may or may not be what your after.
Cheers