I’m working on a placement system for a game I am making and I’m having problems with my visualizer.
Right now the visualizer appears in the floor, when I need it to appear on top of the floor.
The code I use to determine the position it displays at is here:
local visualizerPosition = Vector3.new(playerMouse.Hit.Position.X, playerMouse.Hit.Position.Y, playerMouse.Hit.Position.Z)
And before you say “Just add + visualizer.Size.Y
to the Y coordinate” I want to make clear that I have tried it, and it has worked, but it has created a problem where if the mouse is in a certain spot, the visualizer will fly to your camera constantly.
Could someone give me ideas on how I could fix this instead?