Game Development Community

Bouncing in the world limits Question

by Charlie Malbaurn · in Torque Game Builder · 04/22/2005 (11:48 am) · 2 replies

Hey all, I created a player and want him to bounce constantly. I used the bounce option while setting the players world limits.

I'm just wondering what is the best way to make him bounce higher?

Any ideas?

Thanks,

Charlie

#1
04/22/2005 (11:51 am)
The restitution and damping settings would likely be your best bet.
#2
04/22/2005 (12:00 pm)
Well the thing here is that the player needs to bounce at diferent hights at different times.

What I did the first go was apply physics to the player object itself and then put an impulse to move it in the collision call back. This had horrible effects like inconistant jumps at the same speeds and a completely odd habbit of shooting off the screen out of nowhere.

Now, so you all know, I went through all the other jumping threads I could find and this still happened. I don't know if it's because I put it in the oncollision or not but it didn't work consistantly.

I know it's something I am doing, but any specific help on this would be appreciated.

Thanks guys

-Charlie