Hi! I’m making a spinner that’s supposed to make it so when a player stands on it, it moves the player with it. I was originally using tweens to do it but it wouldn’t move the player with the platform, so I started using AlignPosition and AngularVelocity. I toyed around with AlignOrientation to try and fix it, but AlignOrientation seems to lock all planes regardless of what I do with it, unless I’m doing it wrong.
Basically, when a player interacts with the platform, for example, by jumping and hitting it from under it or standing on it, the platform stops moving in its spinning pattern and reacts to the player hitting it. I don’t want it to react to things hitting it if that makes sense. This is an example:
Video
This is the script I’m using to generate the movement, if you want it to spin, set the AngularVelocity MaxTorque to 200 and the Y to 0.5.
local a0 = Instance.new("Attachment")
local a1 = Instance.new("Attachment")
a0.Parent = script.Parent
a1.Parent = workspace.Header1
local ap = Instance.new("AlignPosition")
ap.Parent = script.Parent
ap.RigidityEnabled = true
ap.Attachment0 = a0
ap.Attachment1 = a1
local av = Instance.new("AngularVelocity")
av.Parent = script.Parent
av.Attachment0 = a0
av.Attachment1 = a1
Model
spinner.rbxm (37.3 KB)