Ad
Log in to vote
0

I Want A Part / Mesh To Go Right Under The Players, As Long as Im standing still it works?

Asked by 2 months ago

When I'm standing still it goes where I want it to but if I'm moving it makes some of it go underground or just in weird angles I Know it's due to the torso moving but how will I go on about fixing it?

local Q = QSkill:Clone()
        Q.Parent = workspace
        Q.CFrame = torso.CFrame * CFrame.new(0,-2.7,0)
0
I am unsure if the torso variable is indeed equal to the player's "Torso" part, but if so, I would recommend changing it to the "HumanoidRootPart", as the HumanoidRootPart is common in both Rig types (R6 and R15). . phxntxsmic 2217 — 2mo
0
ie. local torso = player.Character:WaitForChild("HumanoidRootPart") phxntxsmic 2217 — 2mo
0
Yea thank You That fixed it, I Did. FilthyMonsterPlays 8 — 2mo

1 answer

Log in to vote
0
Answered by 2 months ago

use HumanoidRootPart Instead 0f Torso Credits to -- phxntxsmic

        local Q = QSkill:Clone()
        Q.Parent = workspace

        Q.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,-2.7,0)
Ad

Answer this question