23-05-2024, 01:36 PM
(This post was last modified: 23-05-2024, 01:45 PM by josemendez.)
(23-05-2024, 01:22 PM)Elias Wrote: Hi,
for a project I'm trying to create something akin to a ribbon, or an open conveyor belt.
It will only need to be simulated in two directions (X/Y) and it shouldn't rotate around the X-axis.
Getting it to simulate in two directions was easy, thanks to the 2D Solver setting, however the rope keeps randomly rotating around the X-axis. 'standing up'.
In another thread I read that rope particles don't have an up-vector, however they do seem to have some kind of rotational value stored, as they don't always seem to be pointing in the same direction.
Hi Elias,
Rope particles aren't oriented indeed, they don't hold any kind of rotational information. For rendering, we use parallel transport, which assumes an initial orientation (the direction from the first particle in the rope to the second one) and then propagates it along the rope.
(23-05-2024, 01:22 PM)Elias Wrote: Is it possible to restrict them from rotating around a specific axis?
Not really, if you want to work with rotations you need to use a rod instead.
(23-05-2024, 01:22 PM)Elias Wrote: Or is there a way to disable the billboarding effect on the line renderer, to have it always face the same direction regardless of the camera?
No built-in way, but if you're comfortable writing code it's trivial to modify the line renderer to do this. I can help you do it, could you give more details about what your use case is? (a screenshot would go a long way! )
kind regards