Game Development Community

Road cones, hay bales etc.,

by Nick "Dig" Koirala · in Torque Game Engine · 06/17/2003 (3:45 am) · 2 replies

I'm making a driving game, any way to add road cones or the like the can move if we crash into them. Most of the physics in the vehicle seems like hitting a brick wall, but there must be somewhere to change that...

Cheers,
Nick

#1
06/17/2003 (1:11 pm)
Have a look at the THROW code for inventory, It'll show you how to calc. the vectors needed to add some velocity to the cone to make it move. You might have to make the cone an Item type, but rather than picking it up you place the velocity code in the onCollide that will make it move. Well that is what I would try if I had to do it :)
#2
06/17/2003 (4:42 pm)
Cheers, I'll give it a try....