   Newton collision problem
  hi,I want to determine if my player gets hurt im a collision.I think that i could get the diferences when my player push an object or when a object hits my player by the angles of the directions vector.But i dont know how to get the directios of the objects, and i dont know any other way to solve this.Any idea?Help please.Thanks in advance.   
Quote:Original post by glmisscelanhi,I want to determine if my player gets hurt im a collision.I think that i could get the diferences when my player push an object or when a object hits my player by the angles of the directions vector.But i dont know how to get the directios of the objects, and i dont know any other way to solve this.Any idea?Help please.Thanks in advance.Set the material callbacks; use the process callback to get the velocity of the impact (other 2 do not indicate that a collision has occurred, only that a collision may occur).void NewtonMaterialSetCollisionCallback(const NewtonWorld* newtonWorld,int id0,int id1,void *userData,NewtonContactBegin beginCallback,NewtonContactProcess processCallback,NewtonContactEnd endCallback) dFloat NewtonMaterialGetContactNormalSpeed(const NewtonMaterial* materialHandle,const NewtonContact* contactlHandle) dFloat NewtonMaterialGetContactTangentSpeed(const NewtonMaterial* materialHandle,const NewtonContact* contactlHandle,int index) 