I am Working on RayCasting … But , it is not happening to me . I have created a door and animated it and also attached a script to the FSP controller … The Script goes like this …
I have even tagged the door … But , when i start playing the animation is not taking place … Whereas , i have tried it with other function OnControllerColliderHit … This Works Fine only the RayCasting is not Working … Please , help me as soon as Possible
Yaaa … GOT IT!!! As you said … the action is not fired at all …that was correct …i checked it the script got corrupted although it was attached to the Player … I wrote a new script and then attached to the player … Now , it is Working …Thanks a lot Dude…
Done With Ray Casting …