Bus Door Physic

Well I made this door, and I used HingeConstraint so that the door doesn’t rotate with the door support. However, the hinge constraint allows the door to rotate by touching it or accelerating with the bus, I wanted the door not to rotate. But I don’t know how to do it.

Door:
image

DoorSupport:
image

2 Likes

Just make it have limits on the hinge constraint.

1 Like

if i put limits it happens

You need to adjust the limits in a script while it opens.

1 Like

For example? when it is closed it is 90 degrees, when it is open I change to another?

Yes. You need to change it every frame though, so it is seamless.

2 Likes

Ok, ty, I’m going to use the tween service for that. Thank you, I think it will solve my problem. :grinning:

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