I am trying to make the player stick/spin with the spinning part you can see in the video below, honestly kind of lost on this one, if someone could give me a hand or point me in the right direction it would be greatly appreciated.
Here is the code that spins the part if needed:
function SpinTweenCreate(spinningParts)
local speedValue = spinningParts.Speed
local tweeningInfo = TweenInfo.new(speedValue.Value, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, -1)
local Parts = {Orientation = Vector3.new(spinningParts.Orientation.X, spinningParts.Orientation.Y + 360, spinningParts.Orientation.Z)}
local tweenRotate = TS:Create(spinningParts,tweeningInfo, Parts)
tweenRotate:Play()
end
Here is a recording of the part I want the player to stick/move/spin with for better understanding:
You can not use TweenService if you wish for the player to interact with it in the way you stated. The object needs to be actively involved with the Physics Engine. I recommend using AlignOrientation instead. You can read up on it’s usage here: https://developer.roblox.com/en-us/api-reference/class/AlignOrientation
ive read the resources and tried searching up on AlignOrientation but im still so lost ahaha, ive done what you’ve told me but im lost on how i’d get the circle part shown in the video to spin?