I have a script that renders based of a camera position. I used viewports for this, but im not sure one a few things, How would I render users, with their clothing and accessories and make the viewport only re-render if the camera cframe changes or a player has moved. This is so that it reduces lag.
Basicly i only want the viewport to render if the camera position has changed or if a player has moved to minimise the amount of times the viewport has to rerender
I have no idea what the script is even trying to do, because you can’t force a ViewportFrame to render unless you make an update to it’s contents, but you don’t need the script for what you are trying to do. Roblox does it for you. You don’t need to do anything.