What is the opposite of "lookVector"?

horse.Humanoid:Move(horse.HumanoidRootPart.CFrame.LookVector)

The horse is moving backwards so I need the opposite of lookVector which I cant seem to find.

1 Like

lookVector works with front side aswell, depends on what /how you use it, try these articles:

1 Like
local backVector = -horse.HumanoidRootPart.CFrame.LookVector

You can multiply a directional vector by minus one to get its counterpart.

The figure above contains a visual representation of my solution. Notice how the blue vector has a green counterpart and that it is mirrored (times minus one).

4 Likes

Thank you it worked but it seems like a new problem has occured.
The horse is going forward but the horse rig is facing behind.

Try this: (horse.HumanoidRootPart.CFrame * CFrame.Angles(0, math.rad(180), 0).LookVector

1 Like

LookVector * -range should get you a backwards vector

1 Like

As @Brickman808 said,

It’s something very known in Vectors -
if you want to get the opposite direction of the same vector, just multiply it by -1.

Lets say you have the vector (7,4,0), and lets say his direction goes to >
then , if you want to use the same vector but for opposite direction [ <] multiply your vector by -1, and you’ll get the same vector - with an opposite direction.

3 Likes