- Home /
Rigid body not colliding with box collider.
I have a piece of a model (an ax), which I have added a rigid body to. Using a script, I copy that game object, and hurl it forward by applying forces. This works great.
The problem is that collision is not happening. I have a box collider, which is used as the ground. When the ax hits the ground, it passes right through the ground. I have tried setting the ax to continuous dynamic collision detection mode, but the ax still passes right through the box collider (ground).
Any ideas what might be going on here?
Answer by DESTRUKTORR · Aug 30, 2013 at 02:24 AM
Your axes don't have colliders on them :P Add a box collider component to their prefab (or programmatically, if that's how you've been instantiating them).
Your answer
Follow this Question
Related Questions
Stop sword from distorting character animation 3 Answers
My Unity Collision Wont Trigger Even with Rigidbody Added 2 Answers
Rigidbody player slightly phasing into wall 3 Answers
box colliders with rigidbodies passing through each other 0 Answers
Collision not working as intended with rb.MovePosition 0 Answers