i wanted help i got a script of rendering a charcter
but i wanted render a item like a hat
but i wanted get the items positions to vpf get a indepedent camera but idk how
I’m sorry, but we can’t really tell what you’re asking for. Do you have a script or anything to work with to achieve that, and what’s your issue? The devforum is not a place to ask people to do all of the work for you.
like i a indepedent vpf like with not a part in front of item for get image on vpf
i don’t really understand, what do you mean by independent viewportframe? what’s the issue?
bro i wanted that a script(i dont need it) i just need know how to make it like get the position of the item and zoom out and render of vpf like this (item.cframe.position+item.cframe.Orientation)
you can obtain the position of the item using CFrame and then get the CFrame of the camera as well and point it towards the item inside the vpf then set up the vpf to render using this camera
for example
camera.CFrame = CFrame.new(itemCF+ Vector3.new(0, 5, -10), itemCF)
vpf.CurrentCamera = camera
i’m not sure using this method would work though so maybe someone else can help you but yeah i would just get the CFrame of both the camera and the item and set the camera cframe infront of the itemCF, you can also check other topics regarding this
thanks i think if wont work i can fix it