Hey everyone,
I have a question that I can’t figure out on my own, mainly because I don’t understand CFrames
.
I’ve made a skydiving script, and it can detect when the player is landing on the ground. Although, I’m having trouble detecting when a player is landing on a house or any other object that’s above the ground.
My solution to this problem is this:
-
Create a
BasePart
-
Use
CFrame
to make the part move to the top of any object the player is flying above -
Calculate the magnitude from the
BasePart
to the player’s HumanoidRootPart
Keep in mind, I don’t understand CFrames, so I have no clue how to do the second step.
Could someone please tell me how to do this? In layman’s terms, please.
Thanks in advance.