Get ForwardVector on a rotating BasePart?

How to get the Forward Vector on a rotating Part? I want to get the vector that is always for the BasePart, even if it rotates.

local LookVector = Part.CFrame.LookVector

Is that what you were after?

1 Like

It’s just Part.CFrame.LookVector but you’ll need to read it directly every time, as saving it could mean it’s not correct if the part rotates.

Ok, say i have a sphere/ball:

The method of the CFrame.LookVector work fine, but when i rotate the ball:

Should i use Tigonometry or something else?

Is your goal to retain the previous look vector or to have a look vector that is always pointing a certain direction?

1 Like

Just store the initial lookVector of the sphere and change the sphere’s position off of that stored lookVector

1 Like

No, not this

Yes, i mean this exactly this, a vector that is always pointing forward and not when the BasePart(Sphere) rotate, that it change (ok, it change, this is normaly, but not that its direction change)

But says the sphere rotate to right, the lookvector of your method will be false

Ok, only this question: Should i use TRIGONOMETRY?

What direction do you consider forward?

I am not sure what you mean by that. That is pretty vague. I don’t think you need hardly any mathematics for this problem.

1 Like

Ok, thx. I will try with a little math.

1 Like