How to make a character move with the spinning part using CFrame?
I'm trying to rotate a model using its PrimaryPart. It is working, but it doesn't move my character. I tried using BodyForce and Constraints like weld and hinge, but nothing works. I saw an answer in the DevForum saying you will use LookVector, but I didn't understand how. Here's the code:
2 | script.Parent:SetPrimaryPartCFrame(script.Parent:GetPrimaryPartCFrame() * CFrame.fromEulerAnglesXYZ( 0 , 0.05 , 0 ) * CFrame.new( 0 , 0 , 0 )) |
It would be much better and appreciated if you changed the script for me. I would still appreciate your time for this problem. Thanks!