HI DEVS,
the tittle says it all
HI DEVS,
the tittle says it all
CFrame.p gives you the X,Y,Z coordinates of the CFrame without the rotational components
so it only gives me the position
i did research but as you can see it doesn’t say CFrame.p
What’s the difference between BasePart.CFrame.p vs BasePart.Position
CFrame
takes place as a CFrame
value, with both positional & rotational XYZ values
CFrame.p/CFrame.Position
however is a Vector3
value, with only the positional XYZ values
so CFrame.p
returns a vector3
position?
I believe so, looking at the reference that Ryna sent earlier
CFrame.p
is equivalent to CFrame.Position
and they return the exact same thing, but CFrame.p
is deprecated and you should not use it for any code you’re going to write.
what do you mean? and why cant i use it?
In the past, this property was used, but now it’s deprecated. Google what deprecation means.
Think of the term “deprecated” as like a burnt piece of bacon
Even though it’s burnt, it’s still bacon; just that it barely holds up to its flavor
Most people don’t like/recommend having burnt bacon
(I swear 750 people are gonna yell at me for using this analogy)
i understand now since i am a bacon hair lol