createCollisionResponseAnimator Help!
Posted: Mon Oct 08, 2012 5:52 am
Hey,
Iam currently trying to get Collision working for a Mesh using createCollisionResponseAnimator, Iam having a problem with the Mesh collideing with Other mesh's that are Vertical(Walls etc...) It works fine for flat areas but when it comes to anything vertical there is no Collision at all. The Dimesions of the Mesh are" 32x ,32y, 74z" i have my createCollisionResponseAnimator set up like:
The Origin on the mesh is at 0,0,0. So i Offset the elipse by 37(Half the Height of the Mesh).
Any help would be Greatly Apreciated. Thank you for your time!
Iam currently trying to get Collision working for a Mesh using createCollisionResponseAnimator, Iam having a problem with the Mesh collideing with Other mesh's that are Vertical(Walls etc...) It works fine for flat areas but when it comes to anything vertical there is no Collision at all. The Dimesions of the Mesh are" 32x ,32y, 74z" i have my createCollisionResponseAnimator set up like:
Code: Select all
ISceneNodeAnimator* PlayerCollisionAnim = C_App::game_Instance()->smgr->createCollisionResponseAnimator(
Map_Test.MetaSelector, Player.temp_entity, core::vector3df(32, 32 ,74),
core::vector3df(0,-10,0), core::vector3df(0,37,0));
Any help would be Greatly Apreciated. Thank you for your time!