Hi,
i try to find a method to get a list of all contacts of body collisions.
I need these data :
collision body122 with body12 at (vec3) with (kinetic energy float) (vel vec3) (dir vec3)...
is there a chance to get this data ?
tom
betajaen
22-08-2007 11:06:41
Yep.
You can use a ActorGroup or ShapeGroup callback.
Details here: http://www.ogre3d.org/phpBB2addons/view ... 7130#27130
May be thats the way...but in this case i have to group my objects in the scene. In this case only actors in different groups can collide ? Can i took an actor in many groups ?
Or can i define a callback actorgroup recursive ?
Is there a list of all contacts (of shapes oder bodies) happens after one simulation step, not depended on groups ? Or can i make a callback for that ?
Seems if i simple want to know which objects has contact i have to define for each actor an contactpair with each other...??
Not believable the debuggermode can mark the contacts of two objects how ?
betajaen
22-08-2007 20:57:24
Nope. You can only get contact reports when two actors of two groups collide with each other, you may be able to tell the group to check with collisions with itself though. But the actors must be in an actor group.