How would I limit/stop a certain cylindrical constraint from going horizontally?

so basically, i was making this rover thing but the problem is, the wheel just goes horizontally (pic)

when i want it just to move vertically
Screenshot 2023-09-02 184633
like that

2 Likes

Firstly, you can use CylindricalConstraint.LimitsEnabled and a Limits section should appear, allowing you to change how far it can go.

If you want it to slide up and down vertically, make sure the two attachments that share the constraint are vertical as well.

Unless the wheel is rotating incorrectly. If that happens just rotate the attachment inside the wheel.

I can’t really tell what is going on in the picture.

2 Likes

oh i see, im going to build a less complicated basic chassis to test it, because i guess its to hard to click the parts because of all the meshes and some parts.

1 Like

alright so, which settings do i need to change? UpperLimit, LowerLimit or restution?
(from a tutorial, upperlimit is needed set to 0.1) edit: nvm, it can be 0

1 Like

yes, i finally did it… turns out just
1st: place the constraints on the side, not bottom or top
2nd: enable “LimitsEnabled” and set all of its values to 0
and done…

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.