Rolling any object Problem!
-
Hi Masters,
I'm trying to create an XPresso setup that lets any object roll automatically as it moves. However, I can't figure out what I'm doing wrong.
The cube rolls correctly when I move it along the X axis. But when I move it along the Z axis, it rotates around the Y axis instead of rolling correctly.
Does anyone know what might be causing this?
Thanks!
-
Deleted by K Kh
-
Restored by K Kh
-
Hey everyone, just wanted to update this since I found the solution, in case anyone runs into the same issue in the future.
The problem was that the Bounding Box node in XPresso doesn't read object dimensions properly when the object is still a Primitive. That's why the rotation was breaking and messing up on the Z-axis.
As soon as I made the cube Editable (hit C), the Bounding Box node could finally read the actual geometry/vertices, and the automatic rolling now works perfectly on both X and Z axes!
Thanks anyway!But there is a problem I faced witch is there is a little slideing when I move the objects!
any Ideas to fix it?