LookVector Control

Hello,

I’m trying to use “LookVector” to move a part forward, but then I also want it to go down -3.9 studs on the Y axis. Here’s my line of code:

Impact.Inner.CFrame = HumanoidRP.CFrame + HumanoidRP.CFrame.LookVector * 5

This line works fine, but how would I keep it’s LookVector position but then move it down -3.9 studs?

(it’s my first time using LookVector)

Any and all help is deeply appreciated.

1 Like

just add + Vector3.new(0, -3.9, 0) at the end

3 Likes

No shot it’s that easy. Hang on.

1 Like

image

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.