19.05.2016, 18:31
Yeah, and might as well explain that...
The speed parameter is in units per second. This is regarding the time it takes to move from point A to point B, not the time it takes to go from rotation A to rotation B. Since you want to just rotate the object, you'll want to move it just slightly on the Z axis. As I suggested before, 0.00001 is ideal.
The rotations go from the current rotation to the wanted rotation, obviously. This takes place during the movement. So if you were rotating 90 degrees and you wanted it to take 10 seconds to do that, you would set the speed parameter to a 10th of the movement distance (0.00001 as discussed above), 0.000001.
With a basic door, you obviously wouldn't want the rotation to take 10 seconds... So 0.0000033 (a third of the distance) would make it three seconds.
That's basically the idea here.
The speed parameter is in units per second. This is regarding the time it takes to move from point A to point B, not the time it takes to go from rotation A to rotation B. Since you want to just rotate the object, you'll want to move it just slightly on the Z axis. As I suggested before, 0.00001 is ideal.
The rotations go from the current rotation to the wanted rotation, obviously. This takes place during the movement. So if you were rotating 90 degrees and you wanted it to take 10 seconds to do that, you would set the speed parameter to a 10th of the movement distance (0.00001 as discussed above), 0.000001.
With a basic door, you obviously wouldn't want the rotation to take 10 seconds... So 0.0000033 (a third of the distance) would make it three seconds.
That's basically the idea here.