How Would I make a logged together system?
Some sort of constraint may work, probably a rod.
1 Like
Sorry for the late reply. What would I do with the rod constraint? Like what would attachment0 and attachment1 be set to?
You can add a rod to workspace, or some folder for organization, and then set attachment 1 and 0 to to the RootAttachment of each character. Then you can set the Length of the rod to the distance you want each character apart. You’ll have to use some other constraint to keep the rotation in check, each character facing eachother.
1 Like
What would I do for the wooden log? to make it follow
Thank you, it works but the movement is kinda weird with it. Not allowing me to move sometimes. and moving with A and D. Not sure why.
Example Video: Watch 2024-07-20 01-03-52 | Streamable
Code:
Character.Humanoid.AutoRotate = true
PartiedCharacter.Humanoid.AutoRotate = true
local LogTemplate = Models.LogTemplate:Clone()
LogTemplate.Name = Player.Name.." Log"
LogTemplate.log.CFrame = CheckpointPart.CFrame * CFrame.Angles(math.rad(-90), 0, 0)
LogTemplate.Parent = workspace.World.Logs
LogTemplate.AlignOrientation.Attachment0 = Character.HumanoidRootPart:WaitForChild("RootAttachment")
LogTemplate.AlignOrientation.Attachment1 = PartiedCharacter.HumanoidRootPart:WaitForChild("RootAttachment")
LogTemplate.RodConstraint.Attachment0 = Character.HumanoidRootPart:WaitForChild("RootAttachment")
LogTemplate.RodConstraint.Attachment1 = PartiedCharacter.HumanoidRootPart:WaitForChild("RootAttachment")
LogTemplate.RigidConstraint.Attachment0 = LogTemplate.log.Attachment0
LogTemplate.RigidConstraint.Attachment1 = Character.HumanoidRootPart:WaitForChild("RootAttachment")
LogTemplate.RigidConstraint1.Attachment0 = PartiedCharacter.HumanoidRootPart:WaitForChild("RootAttachment")
LogTemplate.RigidConstraint1.Attachment1 = LogTemplate.log.Attachment1