Well im going to be straightfoward here, this is my code
The "collisionObject" is the FPC and yes it has a rigidbody, the object the script is assigned to is a collision box with a Audio thing attached
I have no idea why it wont play....
So, this script is on a collider w/rigidbody and should be hit by the player, which uses a
CharControllers don't trigger OnCollisionEnter when they hit things. They don't use physics to move, which is where collisions happen. To test, add
Instead need to use
answered Jul 01 '12 at 03:24 PM