- Home /
Question by
pepperedereppep · Mar 19, 2011 at 07:45 PM ·
collisionnormal
OnCollisionEnter question
so it seems like OnCollisionEnter only works when you have a rigid body on one of the objects with ItKinematic turned off.. this is a problem for me right now because I want the player to detect the collision normal vector and get that info without actually being affected by the collider itself.. basically my question is hot to use the onCollision enter function to get the value for normal vector of the collision only..
Comment
Answer by DaveA · Mar 19, 2011 at 08:15 PM
Try setting 'Is Trigger' ?
I tried OnCollisionEnter with IsTrigger and it doesn't detect anything, and doesen't call anything for debug.log