I want to make a see saw, so that when a character walkes up from the one side that is down, physics makes the other side go down when the character moves that way.
Problem: the character-script from the 2D tutorial does not have a rigidbody component, so the see saw doesnt act!
How can i make this?
Theres always on collision enter and animations, for example:
function OnCollisonEnter{
if (contact with character see saw)
play appropriate animation;
else
play other animation
}
You will need a boolean expression to tell what animation you must play, whether its the left side going up, or right side going up. This is my idea, theres probably an easier way.