|
I have two objects colliding (bullets and enemies), and I have it set so that the bullets are destroyed when they collide with the enemies. However, in actuality most just pass through the enemy without triggering a collision. Only a few actually trigger a collision. Here is a video demonstrating it (the enemies are destroyed once they have been hit twice) I am quite new to Unity so any help would be appreciated.
(comments are locked)
|
|
Are you setting your Collision Detection correctly for your rigid bodies? http://unity3d.com/support/documentation/Components/class-Rigidbody.html Yes! It turned out I hadn't attached a rigid body component to the bullets. Silly me. It shall remain a mystery as to why it still worked occasionally.
May 08 '12 at 09:56 PM
mathematicool
(comments are locked)
|
