Fix bug induced by previous commit (player orientation wasn't stored correctly), and fix NPC not beeing able to move with certain angles (like angle Z 70) because the trace function was hitting NPC own hitboxes. The solution prposed here is a little hacky, but i works. Need a little clean up(mBody shouldn't be public)
COL_ACTOR_EXTERNAL=BIT(2),//<collide with external capsule
COL_RAYCASTING=BIT(3)
};
voidnewtrace(traceResults*results,constOgre::Vector3&start,constOgre::Vector3&end,constOgre::Vector3&BBHalfExtents,boolisInterior,OEngine::Physic::PhysicEngine*enginePass)//Traceobj was a Aedra Object