You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
I need a hinge constraint to be active in the workspace.
- What is the issue? Include screenshots / videos if possible!
It isn’t active despite it being enabled and the two attachments parents are in the workspace.
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I look for other solutions and tried them and they did not fix my problem.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
here is the script that creates the hinge constraint
local leftHinge = Instance.new("HingeConstraint")
leftHinge.Attachment0 = leftBase:WaitForChild("Attachment0")
leftHinge.Attachment1 = leftServo:WaitForChild("Attachment1")
leftHinge.ActuatorType = Enum.ActuatorType.Servo
leftHinge.LimitsEnabled = true
leftHinge.LowerAngle = 0
leftHinge.Restitution = 0
leftHinge.UpperAngle = 45
leftHinge.AngularResponsiveness = 200
leftHinge.AngularSpeed = 9000
leftHinge.ServoMaxTorque = 100000
leftHinge.TargetAngle = 0
leftHinge.Parent = flippers
leftHinge.Enabled = true
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.