Quick question (I hope), how can I stop the LineHandleAdornment’s thickness from changing as the camera moves around and changes angles? It’s really bothering me that when I look at it from one direction, it’s the correct size, but from another it’s extremely thin.
What are you planning on using it for?
If you increase it’s thickness to 100 you’ll see that it appears as a hollow cylindrical object, but only from certain angles.
Something like a Beam or a Trail may work better for what you are trying to do.
LineHandleAdornments render without taking perspective into account. That makes them useful when you have a debug visualization that needs to maintain a constant width in screen space, but they’re not really common in production games because the loss of perspective can be disorienting.
CylinderHandleAdornments are roughly the same thing but with perspective. Try using those instead.
Yes, they work, but in your game you’ll notice that the lines aren’t super consistent. If you zoom out and go look from the top down, rotating your camera causes some to thin out, then grow back to size as the camera rotates. For the most part it works, but the fact they do that was bothering me.
You can see how the thickness of the lines close to the player appear to change as the camera’s orientation changes. It’s especially visible when you increase the size of the LineHandleAdornment: https://gyazo.com/f862effb98479c4a48fd8d5e3821eb6b