Type Here to Get Search Results !

Roblox Tutorial: Creating a Simple Door with HingeConstraint (No Scripts Needed)

 I was creating a simple door in Roblox using several physics concepts, and later I found this simple and easy way of making it. Let me explain for you.

Before that, let me tell you this: I have created various content that is useful and helpful for the developer. And I am posting content on other platforms like Patreon. I would like to welcome you there for new and amazing content that will make me helpful because it runs on membership, and I can make some living through that. For the Patreon link, click here. 

To make this, we need just one component in Roblox that is HingeConstraint.

Let me tell you what hinge constraint is. A HingeConstraint in Roblox is a physics constraint that allows a part to rotate around a single axis, like a hinge on a door or wheel.

Now set up your door frame. 

Select all 3 frames and make it Anchor (Alt+A). Then select your door, click on the + symbol, and add the Attachment component. Once you've added it, move it to the corner of the door, the side where you want to rotate your door. Now do the same for your door frame, whichever frame side you want to rotate.

Now rotate the attachment. facing arrows, red ones forward and yellow ones downward. In my image, it's already rotated; you can compare it with yours. Compare the small arrows, not the big one. Now click on both the attachments and move to the model panel.

Click on the drop-down menu and select the hinge option. Now you can notice the new line in between the door and the frame.

Now you need to set up a few parameters. That's it. That is, select the hinge constraint and go to its properties tab and set up this

For more, CLICK HERE

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Top Post Ad

Below Post Ad