Obi Official Forum
Help Rope Rotating Wrong - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Help Rope Rotating Wrong (/thread-4170.html)



Rope Rotating Wrong - camden64 - 13-04-2024

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


RE: Rope Rotating Wrong - josemendez - 15-04-2024

Hi Camden,

Ropes do not model orientation/torsion, as explained in the manual: https://obi.virtualmethodstudio.com/manual/6.3/ropesetup.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,


RE: Rope Rotating Wrong - camden64 - 16-04-2024

Sounds good, thanks for the help!