I would like to have my model positioned in the viewport frame, but because the positioning on all the parts in the model are waked, its not positioned properly in the viewport frame. Iv’e tried to use primary parts and set them accordingly, but it did not work.
The gif shows me repositioning one of my characters parts and it working, but I can’t just set them all to 0,0,0.
I would like more clarity on this line of code to in the explanation anyone gives. viewportCamera.CFrame = CFrame.new(Vector3.new(0, 0, 0), body.PrimaryPart.Position)
Hey, this did not work, though I can share the code with you for more detail, and if possible could you tell me why you believed the above fix you gave me should have worked ? thanks!
local viewportFrame = Instance.new(“ViewportFrame”)