so I’m working to check if the player is close to the part by 3 studs. the problem is because the part is x and z scale not same, in other side the magnitude is 10 stud. how to make it the same for all side even it’s not a cube
That’s because it’s checking the distance to the center and not the sides. For this you might want to use raycasts instead, as it takes sides into account, and doesn’t just do a magnitude check to the center.
Hope this helped
1 Like