Quantcast
Channel: Answers for "OnControllerColliderHit"
Browsing latest articles
Browse All 10 View Live

Answer by Will748

destroying the object hitting the character, I have attached this script to the bulletPrefab, ive also deleted the if statement as I think I dont need it ?

View Article


Answer by Will748

No it doesn't have a rigid body, does however have colliders

View Article


Answer by Will748

OK so if I want to apply the script to the object I should use OnCollisionsEnter ?, I have tried the following but doesn't seem to work function OnCollisionEnter(collision:Collision){...

View Article

Answer by Will748

For future reference for others, the script wasn't working as it was called 'collision', after renaming the script and deleting the script from the project window in Unity it was fine (for some reason...

View Article

Answer by Will748

I am also getting this funny error: classID >= ms_MaxClassID || classID < 0

View Article

Browsing latest articles
Browse All 10 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>