I have a mesh, I do CameraPick(Camera,MouseX(),MouseY()) command, and then I do PositionEntity Object,PickedX(),PickedY(),PickedZ()
How would I be able to position the picked mesh correctly into a terrain, depending on the lowest surface of the selected mesh? The current system I'm using always positions the object so half of it is visible in the terrain, and the other half is below the visible. I made it so it depends on the mesh height; however that doesn't work, because I want to scale the mesh later on using scaleentity.
How would I be able to position the picked mesh correctly into a terrain, depending on the lowest surface of the selected mesh? The current system I'm using always positions the object so half of it is visible in the terrain, and the other half is below the visible. I made it so it depends on the mesh height; however that doesn't work, because I want to scale the mesh later on using scaleentity.