Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with Rigidbody constraints
#1
Greetings,
for the software we're developing we're finding ourselves in a situation where we need to constrain the effect of a rope, attached to a rigidbody, on another rigidbody. I made a simple diagram to illustrate the situation better (I'm not an english native speaker)
   
The grey sphere is where the rope attaches, and both the sphere and the red cube have rigidbody components. We want them to act in a way that, while the sphere is fully constrained in its rotations (in other words its rigidbody is frozen on all axes), the red cube is still capable of rotation on, at least, the Y axis.

We tried using constraints, but it seems that regardless of the setup the cube's rotation is frozen on all axes, much like the sphere.

Any idea on if, or how, such a rigidbody relationship can be implemented, either with proper set up constraints or by code?
I also attached the current relevant components of the cube (diverSettings) and of the rope attachment point (attachSettings)

Regards


Attached Files Thumbnail(s)
       
Reply


Messages In This Thread
Help with Rigidbody constraints - by fconsonnibk - 08-07-2022, 02:19 PM