Reputation: 2499
I have object (ball) that is prefab initialized on game start. On that prefab i have Script, Mesh renderer and Sphere collider. Now when i cast my Spell
, it is normally colliding with me and OnTriggerEvent
detect character (me) but not the ball. Why is that?
If you need any part of code or something ask me.
Upvotes: 0
Views: 65
Reputation: 10571
For Trigger, you have to keep in mind this table
Ensure that isTriggerEnter is checked on ball. ref
Upvotes: 2
Reputation: 70
maybe your ball is on a different layer that does not collide with your default layer? check your layer settings
Upvotes: 0