In my game, the bullets are bouncing off of the zombies but wont register a collision. Any ideas?
PS using c# so any solutions please
In my game, the bullets are bouncing off of the zombies but wont register a collision. Any ideas?
PS using c# so any solutions please
bump
What are you using for your bullets? Rigidbody? collider? If collider, is it a trigger? Same question for zombies.
Posting the relevant code would be nice too.
zombies have rigidbody and box collider
bullets have rigisbody and spherecollider
Ahem.[quote=“DanielQuick, post:3, topic: 434392, username:DanielQuick”]
Posting the relevant code would be nice too.
[/quote]
Post the relevant code as well.
With the information I have though, I don’t see why this wouldn’t work:
function OnCollisionEnter(collision : Collision)
{
// Do something
}
nevermind, I fixed it, thanks for jogging my memory