Bridge Trigger
The player will cross an invisible collider which will trigger our bridge animation to play.
The player will cross an invisible collider which will trigger our bridge animation to play.
Create a new Sprite Object and call it Trigger
Create a new Sprite Object and call it Trigger
It just needs to be a yellow rectangle.
It just needs to be a yellow rectangle.
Place it in the scene as shown and
Place it in the scene as shown and
turn off initially visible
turn off initially visible
At this point turn off initially visible on the player box too.
At this point turn off initially visible on the player box too.
Timeline Code
Timeline Code