Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Rope Rotating Wrong
#1
Hi,

I have an Obi Rope using a chain renderer that acts as a machine gun's ammo belt.

It works pretty well, but the chain prefabs don't point the correct way when pointing the gun up or down (side to side works). 

Please see the video below for a visualization. The attached screenshots show the Solver and Rope components, but I haven't altered anything major that I'm aware of.


[video=youtube]http://https://youtu.be/DwaLkp72EJc[/video]

---

I look forward to hearing back from you, I've been enjoying all of the Obi assets so far, thanks!

-Camden


Attached Files Thumbnail(s)
           
Reply
#2
Hi Camden,

Ropes do not model orientation/torsion, as explained in the manual: https://obi.virtualmethodstudio.com/manu...setup.html

Quote:Ropes are built by chaining particles using distance and bend constraints. Since regular particles have no orientation (only a position), torsion effects cannot be simulated, and ropes cannot retain its rest shape.

As a result, torsion -orientation along the rope's main axis- is essentially random: a direction orthogonal to the "up" vector is picked for the first particle, and then propagated down the rope. If you want particles (and hence, chain links) to retain a specific torsion no matter how the actor is rotated, you need to use rods instead.

kind regards,
Reply
#3
Sounds good, thanks for the help!
Reply