-
What do you want to achieve? I want to make a lift/elevator
-
What is the issue? The prismatic constraint is not working. The Targetposition is set, and I read the value from the script correctly, and when I turn on “Show Constraints”, the arrow points up and that works fine, but the constraint does not move the primary part of the lift (Floor). When I check, the “active” property on the Prismatic constraint is off and greyed, I think it has to do with that? How do I I activate the constraint so it can actually work?
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub? Yes I looked on dev hub no work
Note:
-
All elements in the model are unanchored
-
The anchored part on the bottom of the elevator is welded to the floor (primary part) so that it can work as a prismatic constraint
-
Prismatic constraint is parented under the unanchored part
-
Attachment 1 is the floor (unanchored), Attachment 0 is the anchored part
-
Actuator Type: Servo
Here’s the docs for it if you want to look
After doing some debugging, I found this:
Active
READ ONLY
NOT REPLICATED
True if the constraint is currently active in the world.
True if the constraint and both of its parts are in the Workspace and the constraint’s Constraint.Enabled property is true.
When I copied the two parts into a test, place, the active was true. But this is an issue because it has to be in a model as its the primary part.
This is the structure,
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.