Looking to convert Vector3 Position to a CFrame, anyone got a clue?
Thanks in advanced!
3 Likes
From what type of Vector3? Position? Orientation? If you want convert either from these two, you can do this:
local NewCFrame = CFrame.new(Vector3)
9 Likes
they said position, no need to ask
CFrame.new(Your vector 3 position) will do it, just pop it and it will be a cframe. Albeit one without a set directional component.
2 Likes
Oh yeah I tried that but it seems to be off, as it doesn’t end up in the same spot as Vector3, it’ll end up else where instead
@ItzMeZeus_IGotHacked (same reply to you too there ^ )
EDIT: Nevermind, I didn’t realize I had something else that was messing with the CFrame which made it go off.
Thank you everyone for helping!!
1 Like