Hey guys, first off thanks for looking.
Basically I'm making a simple maze which shows different types of interaction for an assignment. I've got cubes which basically fall from the sky and hit the ground and do a camera shake when they do so with the help of iTween. At the moment they do this as soon as it loads up so I thought a trigger would be a good idea so when the player gets to a certain part in the maze the columns would start doing their thing then.
The script I have so far is :
I have a trigger ready called columnTrigger, this script is currently attached to the cubes so how do I get this script to see if the player has collided with it? Do I need a second script to tell this one when the player has hit it? Or can I use this script to do this job?
It's probably a very basic thing to do but as I said I'm pretty new with this and I'm still trying to grasp this software. Thanks again for looking.
You don't need a second script. The trigger object will detect the collision just fine:
answered Mar 11 '11 at 09:05 PM