Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Question about spinning a morph, welded to the player? [BodyAngularVelocity] [SOLVED]

So, I have a mesh part tornado morph. I use a weld to join the HumanoidRootPart of the player to the morph. (

local weld = Instance.new("Weld", partA)
weld.Part0 = partA -- Humanoid Root Part
weld.Part1 = partB -- Tornado Morph

)

The problem is, I can't seem to figure out how to get it to spin. I want it to spin separately from the player, and yet still be attached. I've tried HingeConstraints set to Motor but that didn't work. Can somebody please help me? Also, the morph is CanCollide true.

2 answers

Don't bother with custom character controllers. Just set player.Character to the morph model. The morph will need a HumanoidRootPart, which everything else should be welded to. It should also have a Humanoid, a Head, and an UpperTorso (Torso for R6). You'll also want to change workspace.CurrentCamera.CameraSubject to the morph's Humanoid on the client side.

1 comment

0

Well, the morph is a Tornado. Edited the post to clarify that.

Well, I have some good news! If I use a "BodyAngularVelocity" It spins! I can't explain it, but the player still walks straight even with the character spinning.

This discussion is preserved as it was. New answers, comments, and votes are closed.