#How Do I Make a sliding Door?

1 messages · Page 1 of 1 (latest)

wary grove
#

Use either pistons or animations

copper summit
#

@wary grove @wicked socket

If you aren't using beta, the easiest way with Cv2 is via a piston
On interact
If open state is open, set piston speed to negative whatever, set open state to closed
If open state is closed, set piston speed to positive whatever, set open state to open

If you are using beta, the easiest way would be via an animation
If open state is open, reverse animation, set open state to closed
If opens state is closed, play animation, set open state to open

Btw, "Open State" is as simple as Bool Variable, where True is open and False is closed

#

The only chips required in both methods are If and a Bool Variable

With a piston, you are using Piston Set Speed
With an animation, there might be Animation Controller Set Speed chips? but you may also need to play the animation, im not sure because i dont like Cv2 animation in its current state, i'd rather use studio animations