#Snap to Grid by Prop System.
9 messages · Page 1 of 1 (latest)
I would just use a raycast to detect when it hits a wall, use some rounding to make it actually feel more like a grid. Add some rotation logic based on the wall it’s on to make it face the same way as the wall
mouse.hit and then round the x and y position
Alright, I have a prop that can detect whenever it is close to another prop.
Minor sound warning.
(Sorry for being late as well as I got a life)
The next step you told me was to use some "Rounding" and to rotate my prop based on the direction the wall is facing.
Nvm ill just keep it to simply aligning when hitting a wall. Thanks for the tip