rotation object
#10

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
ok, speed must be less
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.
Reply


Messages In This Thread
rotation object - by Saliim - 19.05.2016, 07:37
Re: rotation object - by justjamie - 19.05.2016, 08:39
Re: rotation object - by Saliim - 19.05.2016, 08:49
Re: rotation object - by justjamie - 19.05.2016, 09:17
Re: rotation object - by Konstantinos - 19.05.2016, 09:19
Re: rotation object - by justjamie - 19.05.2016, 09:25
Re: rotation object - by AbyssMorgan - 19.05.2016, 14:59
Re: rotation object - by Crayder - 19.05.2016, 15:35
Re: rotation object - by AbyssMorgan - 19.05.2016, 15:51
Re: rotation object - by Crayder - 19.05.2016, 18:31

Forum Jump:


Users browsing this thread: 2 Guest(s)