|
i need urgent help regarding the collision detection problem i had in my game, before i exported the game into my iphone, everything is working file, including the collision detection and stuff, i even tried building it out in other platforms like PC, mac and all is working too, only unity iphone doesnt work. can anyone please tell me whats wrong? below is my code for the collision part. //Collision Detection between player and carrots. function OnCollisionEnter( collision : Collision ) {
am i doing anything wrong? in the game itself it just doesnt seem to detect the collision. PLEASE, any suggestion is welcome. )';
(comments are locked)
|

Did your project build correctly ? If your project is without the UnityEngine you won't get any "PhysX"
okay, i found the problem that is affecting the whole collision, however the problem is with the GetComponent issues now.