Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Rod attachment orientation incorrect
#1
Hey team,

I would really appreciate your help on this one. Its got me a bit stumped. 

When upgrading from 7.0 to 7.1 all of the connections between my rods and other objects were flipped. I tried recreating all my rods, and then I tried it in the 7.1 sample scenes in a brand new project but the issue persists. 

I am using the SpringRod sample. I have disabled the animation for simplicity. The default scene as it is works fine.
I delete the cube named load, and add in a capsule. I add a basic collider and Obi Collider, all with default settings as pictured. In the Rod settings, I set the target of the Obi Particle Attachment that was set to the cube (control point 0) to target the new capsule. I dont edit the path of the rod at all.
When I play, the rod/spring twists around to point control point 0 facing out of the capsule instead of in (see image). I dont know what I have done to cause this or how I can correct the orientation of the rod relative to the attachment when using Constraint Orientation.

Cheers,
Matt


Attached Files Thumbnail(s)
           
Reply
#2
You need to add Rigidbody and Obi Rigidbody to the Capsule
Reply
#3
(Yesterday, 10:34 AM)chenji Wrote: You need to add Rigidbody and Obi Rigidbody to the Capsule

Hi, I have tried with rigidbody and Obi Rigidbody, that doesnt make any difference at all. It was removed for simplicity.
Reply
#4
(Yesterday, 10:54 AM)matty337s Wrote: Hi, I have tried with rigidbody and Obi Rigidbody, that doesnt make any difference at all. It was removed for simplicity.
If you're using dynamic attachment it will not work properly if there is no rigidbody. Could you post a screenshot of the rod's inspector after you click "Play", especially the attachment part. Also try to disable the Collider of the capsule, does it make any difference?
Reply