I’m working on a project where i have created a kitchen.
In the demo i’m making the user should be able to open the doors of the kitchen cabinets. using physics handlers that let them grab doors in VR.
Though when setting up the initial physics constrained doors i discovered with a regular 1 point hinge you get a lot of clipping issues that prevent the doors from opening fully (unless you trim the collision boxes and allow for clipping on certain areas of the door)
After researching this issue i found out that kitchen cabinet doors have a special hinge that allows them to rotate open without bumping into their neighboring cabinet doors/fridges/walls. The so called Cup hinge or Euro hinge.
And although i don’t need to model/display the meshes of these types of hinges, i would love to have the same physical behavior in my demo.
So i can have the doors with collision meshes that match the dimensions of the door mesh.
Is there a good way to create this so it works with the physics system and doesnt glitch out.
On top of this, is there a way to set the physics constrain forces so that it prefers either one of two positions, with a spring force either pushing it fully closed or fully opened depending on whether its past the 50% mark