Game Development Community

Bouncing

by Sasha Djurovic · in Torque Game Engine · 08/28/2001 (11:52 am) · 6 replies

Being total newbie to mods, scripts etc. can anyone tell me if they got quick way to implement bouncing behavior before I jump into source code.
Tx, Sasha.

#1
08/29/2001 (10:07 am)
The items will bounce. If you look at the game/items.cc file and search for "elasticity" you should be able to figure out what it's doing.
#2
08/29/2001 (2:28 pm)
Thanx, I have to reinstall my T2 pronto. I thought that those disks were bouncing of the walls wasn't sure tho.
#3
08/29/2001 (2:59 pm)
I think the blaster bounces in T2, at close range. That bounce is handled differently than the item bounce. The blaster used a special linear projectile, unaffected by gravity. The linear projectile moved along a straight line and simply reflected off surfaces.
#4
08/29/2001 (4:14 pm)
In T2 Blasters would bounce off of land and buildings at close range (close is a relative term) and blasters ans disks would both bounce off water within a certain reflection angle.

Mortars and Grenades both bounced a bit on impact.
#5
08/30/2001 (11:58 am)
Thank you for reply, I was already bracing my self for detecting collision point, grabbing polygon from the collision mesh, getting normal vector, calculating reflection angle, dampening effect, active force etc. I'm glad that v12 is made to Rock.
Sasha
#6
09/01/2001 (2:08 pm)
lol I thought I was crazy when I saw my disk skip off the water . . .I guess I am sane . . . what a relief