EXPLANATION:
• If player presses Spacebar it raycasts infront of char
• if theirs a grid it makes them appear as if they are hanging onto that point.
• Using Welds/BodyPositions this works normally however I want to also have it so if a part is rotating then the Characters also rotates in position.
My Current Attempt at replicating this -
• AllignPosition seems to be the best option considering even though its buggy as you can clearly see, when working with constantly rotating parts its perfectly turning the character.
local obj = Instance.new("AlignPosition")
obj.Parent = Character.HumanoidRootPart
obj.Name = "Active"
a1 = Instance.new("Attachment")
a1.Parent = Character.HumanoidRootPart
a1.Name = "Active"
a2 = a1:Clone()
a2.Parent = Part
a2.Position = Position
a1.Visible = true
a2.Visible = true
obj.Visible = true
obj.Responsiveness = 200
Character.Humanoid.AutoRotate = false
Character:SetPrimaryPartCFrame(CFrame.new(Position, Position + Normal))
Dot represents the Position applied to the attachment before it goes crazy
Spinning Part
Non Spinning Part
Example of normal behaviour (Achieved through bodypos)