Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hinge Joints Alternative?
#2
(13-05-2019, 06:01 PM)StudioTatsu Wrote: Does softbody have a type of fixed rotation similar to unity's hinge joints?


I can't use unity's hinge joints because it requires a Connected Body (a rigidbody) to follow the transform.
https://docs.unity3d.com/Manual/class-HingeJoint.html


Basically, I'm trying to create softbody doors that can open and swing from softbody vehicles while driving. 
My vehicles are controlled by adding forces to softbodies. 
I'm not using rigidbodies at all, since the 4.1 update.
Without a connected body, the hinge joint is connected to the world and doesn't follow the vehicle.

Any help on or direction on this is greatly appreciated. Thanks.

Hi there,

Currently there are no built-in hinge joint alternatives for softbodies. However, being a position-based engine you could simply force the position of a couple particles to be the same. That would get you an accurate ball joint. Do this for two couples of particles, and you have a make-do hinge joint.

Let me know if you need help with the code required to achieve this.
Reply


Messages In This Thread
Hinge Joints Alternative? - by StudioTatsu - 13-05-2019, 06:01 PM
RE: Hinge Joints Alternative? - by josemendez - 18-05-2019, 02:15 PM
RE: Hinge Joints Alternative? - by tegleg - 08-07-2019, 09:45 PM
RE: Hinge Joints Alternative? - by StudioTatsu - 09-07-2019, 02:38 AM
RE: Hinge Joints Alternative? - by josemendez - 09-07-2019, 10:52 AM
RE: Hinge Joints Alternative? - by tegleg - 09-07-2019, 10:48 PM
RE: Hinge Joints Alternative? - by josemendez - 10-07-2019, 07:10 AM
RE: Hinge Joints Alternative? - by tegleg - 10-07-2019, 12:04 PM
RE: Hinge Joints Alternative? - by Pheebau - 10-11-2020, 02:28 AM
RE: Hinge Joints Alternative? - by tegleg - 17-11-2020, 09:38 PM
RE: Hinge Joints Alternative? - by Pheebau - 18-11-2020, 12:58 AM
RE: Hinge Joints Alternative? - by Pheebau - 22-11-2020, 08:41 PM
RE: Hinge Joints Alternative? - by josemendez - 23-11-2020, 09:02 AM
RE: Hinge Joints Alternative? - by Pheebau - 23-11-2020, 10:18 AM
RE: Hinge Joints Alternative? - by tegleg - 23-01-2021, 01:54 AM