Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Add + (0,0,5) to a current part CFrame?

Hello How Could i add (0,0,5) to a Current Part CFrame i tried to do it like this

Part.CFrame = Part.CFrame + CFrame.new(0,0,5) and alot of other tries but it still did not worked so i am here asking for answer? i actually have no idea how to do that so no judging thank you.

1 answer

✓ Accepted answer

For the camera's position do..

camera.CFrame = CFrame.new(Vector3.new(camera.CFrame.X, camera.CFrame.Y, camera.CFrame.Z + 5))

.. I guess?

12 comments

0

to move object

0

Then use the position property.

0

okay but how should i do that?

0

Edited.

0

Camera does not have Position.

0

You're trying to.. move the camera?

0

yeah?

0

because i want to fix this https://imgur.com/a/Kyu1pJ7

0

Try now?

0

wait no

0

There

0

thanks*

This discussion is preserved as it was. New answers, comments, and votes are closed.