How could I make another object move, EG: A door.

Say if I was to set

nearDoor = true;

How could I set the door to move up? (transform.position.x?), it would be another gameObject, I’ll be a player - wanting the door to open.

It will move from closed, to open - EG: ___ < closed — < open. So, it’s moved up.

Thanks!

Chapter 3: Interactions

Thank you mate, greatly appreciated.