Author Topic: Rotating Red 2x2  (Read 7197 times)

I made a .gif of a rotating brick.
When I made it, I didn't realize the top margin was so enormous.

Cool
Off Topic:May i use this as my avatar


No, it's too large.

Doesn't mean you can't resize it. :cookieMonster:

BOOM:
« Last Edit: August 17, 2011, 09:20:53 PM by ShadowsfeaR »



How would you go about making one of these?


How would you go about making one of these?

I planted a red brick, made a script to rotate me around it (/orbit x y z r d), and set an aimbot-like script to look at a point about -2 Torque units below the brick. Then I used /orbit around the position of the brick in r increments of 5 at a distance of 6.

Code: [Select]
function servercmdOrbit(%cl, %x, %y, %z, %r, %d)
{
if(!isObject(%cl.player))
return;
%pi = 3.1415926;
%pos = %x SPC %y SPC %z;
%r = %r / 180 * %pi;
%xShift = mSin(%r);
%yShift = mCos(%r);
%cl.player.position = vectorAdd(%pos, vectorScale(%xShift SPC %yShift SPC 0, %d));
}

Here.

Is that just an inverted version of the red 75x75 image? It doesn't look much like a blue brick in Blockland. :o
« Last Edit: August 18, 2011, 09:43:53 AM by Xalos »





I made a .gif of a rotating brick.
When I made it, I didn't realize the top margin was so enormous.

So did you take a single image one at a time? How did you do the camera movement?

Actually I should say, HOW DID YOU ANIMATE THIS CUBE
« Last Edit: August 18, 2011, 05:44:20 PM by TeslaCoil »

I see a new fad coming.