porting customContactReporter

Toby

05-10-2007 09:31:49

Hello,

I want to port my code to 0.9 svn but I do not know how to rewrite my Hit Reporter Manager which herited of customContactReporter.

I create ActorGroup for my cars, another for weapons and another for track, then I want to know when a weapon hit a car.

How to do it now?

Thanks

Toby

05-10-2007 13:33:29

Ifound it: http://www.ogre3d.org/phpBB2addons/viewtopic.php?p=27130#27130

Sorry!

frier

06-10-2007 04:12:25

Hey toby just for my interest, what do your weapons do in your game? do they just push(apply force) to other cars in the game?, if so, do you just apply a force to the car if its in contact with a missile?

Toby

06-10-2007 08:46:42

Yes, if a weapon like a rocket explodes near a car then I apply a force in direction of weapon to car.

And more weapon explodes near a car more I increase force.