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
NachtHemd
(NachtHemd)
#2
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
Moonvane
(Moonvane)
#3
I just made an article about it here:
1 Like