Hi ! Is collision detection implemented in the Box zone ? because its seems it's wrong...
no matter how i try to set the rotation of the Destroyer or the Box zone , the collision detection is always the same :
box->getTransform().setOrientation
box->getTransform().set((float*) meshTransform)
box->setAxis()
or
destroyer->getTransform().setOrientation
destroyer->getTransform().set((float*) meshTransform)
or whatever i try , the collision detection is always the same.. am i doing something wrong ?
Thanks
EDIT :
It works when i set the axes of the box zone, but not when set the transform...
So basically i want to create an obstacle from a visual object. The box zone will be attached to this mesh.Something like this
- Code:
-
destroyer->getTransform().set((float*) myMesh->getTransform())
The orientation is correct when i use this zone for emitters but wrong for collision detection (the zone's transform not taken into account)