How CFrame:VectorToWorldSpace works?

Vector3 CFrame:VectorToWorldSpace ( Vector3 v3 )
Returns a Vector3 rotated from Object to World space. Equivalent to [(CFrame - CFrame.p) *v3]

I couldn’t understand the [(CFrame - CFrame.p). What does it mean and how CFrame:VectorToWorldSpace function work?

1 Like

CFrame - CFrame.p removes the translation of the CFrame, meaning it will just rotate the vector and not displace it/change its length in any way

I just made an article about it here:

1 Like