LookVector going wrong way

I currently have a part that is being moved by doing:

TorpedoClone.CFrame = TorpedoClone.CFrame + TorpedoClone.CFrame.LookVector * 1

But it goes in the wrong direction - goes left instead of straight on.
image_2022-08-02_222519227
How can I make it so it always goes straight on the way it’s facing.

Note that the part will always be facing in a random direction.

you can negate it

TorpedoClone.CFrame = TorpedoClone.CFrame - TorpedoClone.CFrame.LookVector * 1

Now that makes it go right instead of forwards.

Use UpVector or RightVector then, and multiply either by -1 if it’s backwards. LookVector is based on the Z direction, and your torpedo isn’t Z-forwards.

I love that torpedo by the way, really well done. I think the tail section might be a bit stretched but I haven’t seen a good picture of one in a while.

6 Likes