Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Rod dynamic attachment is broken
#2
(08-08-2025, 06:07 PM)Qriva0 Wrote: Hi, when rod is attached in dynamic mode and constraint orientation is enabled, then the whole attachment becomes broken. To be precise the orientation taken into account is flipped and rod tries to keep opposite direction. This bug can be sometimes not obvious, because when rod is rotated it gets apparent stability for short time.
To reproduce, simply create box with rigidbody (can be frozen and kinematic for particles for better result) and create dynamic attachment with constrained orientation.

I want to not that it's best if box and rod is perfectly aligned and not rotated.
Attached image shows my setup before and several frames after starting simulation.

Obi 7.1
Unity 6000.0.54

Hi,

Quaternions q and -q represent the same orientation. This means that an attached object may flip 180º degrees and consider this its new rest rotation if rotated away from the original rest pose.

The simplest workaround is to create 2 attachments instead of one. This removes aliasing between orientations 180º degrees apart from each other.

kind regards
Reply


Messages In This Thread
Rod dynamic attachment is broken - by Qriva0 - 08-08-2025, 06:07 PM
RE: Rod dynamic attachment is broken - by josemendez - Yesterday, 09:39 AM
RE: Rod dynamic attachment is broken - by Qriva0 - Yesterday, 10:20 AM
RE: Rod dynamic attachment is broken - by Qriva0 - Yesterday, 11:58 AM
RE: Rod dynamic attachment is broken - by Qriva0 - Yesterday, 12:29 PM