LOCK3DOOR
(LOCK3DOOR)
#1
Hello, I am making a building system and I have rounded X and Z but how do I math.floor()
Y position correctly? I have tried doing:
Y = math.floor(Mouse.Hit.Y/2)
But that rounds incorrectly and it seems to be mispositioned. Any help is appreciated, thanks!
1 Like
Katrist
(Katrist)
#2
Why are you dividing the Y value by 2?
LOCK3DOOR
(LOCK3DOOR)
#3
I don’t know it was just an example. The problem is it rounds inaccurately it’s like half the mouse.hit size.