PrismaticConstraint Forced Open?

I’ve created a door using a PrismaticConstraint. The only issue is that players seem to be forcing it open. The max force I have set for the Servo is:
179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368
Which fills the box with “inf.” However, players are still forcing it open. What am I doing wrong? I’ve had this problem with HingeConstraints too where just the force of a player in the right way can cause the door to open slightly.
image

A hacky solution is to enable limits and set the lower and upper angle to the target position. It will prevent external forces from moving the door. You have to set the limits when the door reaches the target position though or else the door will move in a instantaneous manner. I also would consider using CFrames instead of constraints to move the door via TweenService as constrains and unanchored parts at a large scale are extremely performance heavy, I assume you won’t have only one door in your game :wink:

1 Like

Alright. Is there a way to tween a model then? I also have the model welded together so would tweeting 1 part work? Whenever I tween something, upon collision it teleports above whatever is colliding.