Hello! How do i make doors like the ones in Mad City? All i want is that the door opens in the opposite direction of where the player is, and that its triggered when a player steps near the door. (I’ve looked for tutorials, there all bad)
A video of what i want
Use Vector3:Dot() to get what side of the door the player is on then get the magnitude… part:DistanceFromCharacter() then if it is like less than 7 then boom just do it based if they are in front or behind and your problem is solved.
1 Like
Ok, thanks! Thanks for your help on the other post i made btw.
1 Like
Looks like it could be as simple as tweening the door when a player touches it. You could have two parts listening for both sides of the door or detect the normal of the door they’re on to decide which way to swing it.
1 Like