Anim8or Community
General Category => General Anim8or Forum => Topic started by: magesh_magi1 on March 13, 2008, 01:24:50 am
-
Hi ,
I'm new to Anim8or so you can expect some silly questions also :) .. i have created a battery model i just want to create a sequence in which it should rotate on the floor.. i tried some possiblities and its not working.
-
well, what you can do is create a figure, give it a bone(exculding the root) and rotate that bone, then apply it that battery (at least thats how i make things rotate XD)
-
Or u could use a controller script see this thread
http://animanon.xtreemhost.com/index.php?topic=148.0
-
Are you in scene mode? if you are, all you have to do is click the object, click the rotate tool, de-press the Y axis, and hold down the mouse
ps. make sure you click on the green key so that it only affects the frame you're on, otherwise it will affect all of the frames
-
hey kreator
about the controller script, how to adjust the orientation in which the object rotates?
for your script it rotates the object like as your given example, the fan of a windmill.
how do i get it to rotate the way a ceiling fan does?
i've been trying different ways to get it to work. somehow i can't get the bones to rotate with my objects in that way either..
help would be very appreciated
thanks in advance
-
You can use this script for rotation around the Y axis:
float $speed;
$speed = 5;
$orientation = (0, sin($speed*time), 0, cos($speed*time));
How it works? Orientation variable is a quaternion - it consists of 4 values, eg. (0, 0, 0, 0); you can see that the last row of my script is almost the same as the Kreator's one, but the "sin($speed*time)" formula is on the secont position of the quaternion instead of the first - that means Y axis rotation instead of X axis... Easy isn't it?
Also check the ASL controller scripts collection on Anim8or.org (http://anim8or.org/index.php/topic,421.0.html) for another orientation script with explanation how to use it.
-
thanks for the script and for the list of controller scripts, really helpful
oh and..
in preferences my frame rate's set at 24
however when i play my scenes the frame rate comes up as 83.5 ...
is this a bug in 9.6? or is it just some setting i have to change?
if it's a setting, any idea how to correct it?
sorry for all the questions.
-
Go to View>Preferences and check the "Limit Playback" checkbox in the bottom of the window 8)