How do I "add" rotations?
I'm trying to add two rotations to get something inbetween the two to use for setting rotation of another object. However the calculator doesn't work with the type of rotations dreams uses (axis angle) so I'm wondering if there is a way around this?
-
Did you try putting each rotation wire through a splitter to isolate each axis? Then depending on what your doing you could just pick one axis and add them, or add all three, and combine them back into one summed rotation wire
-
Dreams doesn't use Euler angles and there's no way to get Euler without the inverse trignomic functions. Dreams uses Axis Angles and you can't directly modify the XYZ numbers to get what you want. I experienced this first hand when I tried to get a advanced Rotator to match a rotation of another object by subtracting the current rotation from the to rotation. It just gives you an object spinning out of control.
-
amchornet76, if you're looking for an atan2(y,x) function, I just released one in my "Math" collection. It uses an approximation formula, but it's pretty close. Its output is in radians.
-
I understand axis angles, and am using them for my laser reflection and refraction system, but I'm still trying to wrap my head around quaternions and Euler angles, as well as how to translate between global and local space/coordinates.
-
I’m looking to try and get a random angle from 0-180 degrees in one axis only. Been trying directly wiring value sliders into a combiner and then into an emitter ‘direction’ input. but nothing seems to make sense and it doesn’t point where I expect. -1 to +1 doesn’t,correspond, and it seems to need a t]strange combination of manipulating all three axes to get one of them to cover the proper range.
Please sign in to leave a comment.