cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Tips on animating objects

Anonymous
Not applicable
I just saw a discussion on linkedin about how to animate objects in ArchiCAD. This is actually surprisingly easy to achieve with basically any existing parameter - a fact most user don't realize.

Eg say you have a car object that you want to move 1m metre per animation frame, all you have to do is add the following line to the top of the object's 3D script:
ADDx GLOB_FRAME_NR * 1 !1 moves it 1m per frame.

Anyone got any other tips
6 REPLIES 6
Anonymous
Not applicable
Can you make the wheels spin?
Anonymous
Not applicable
s2art wrote:
Can you make the wheels spin?
haha sure can! just multiply their angle parameter e.g. wheelAngle like this:
wheelAngle * (GLOB_FRAME_NR * 15) this will move them 15 degrees per frame.

Now if you were really clever you could use a calc to work out how much your wheels should turn, based on how fast the car is moving each frame 😉
Barry Kelly
Moderator
sdb wrote:
s2art wrote:
Can you make the wheels spin?
haha sure can! just multiply their angle parameter e.g. wheelAngle like this:
wheelAngle * (GLOB_FRAME_NR * 15) this will move them 15 degrees per frame.

Now if you were really clever you could use a calc to work out how much your wheels should turn, based on how fast the car is moving each frame 😉
And if you get the calcs wrong and the wheels spin too fast you'll get plumes of smoke and black lines all over your plan.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
rocorona
Booster
We had a discussion on this (animate objects) a few weeks ago, on ArchiRADAR, started on an old tutorial.
The aim, in this case, was to simulate the swing movement of a boat, while moving ahead.
The solution proposed is enough for a simple animation, although the waving movement is a crude zig-zag, not something smooth like sinusoid.

The whole thing is in Italian, but you can find something interesting.

Log-in to the forum, to see images and to download the "swing-all-objects" object (oscillatore2.gsm)
_________________

--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
Anonymous
Not applicable
rocorona wrote:
We had a discussion on this (animate objects) a few weeks ago, on ArchiRADAR, started on an old tutorial.
The aim, in this case, was to simulate the swing movement of a boat, while moving ahead.
The solution proposed is enough for a simple animation, although the waving movement is a crude zig-zag, not something smooth like sinusoid.

The whole thing is in Italian, but you can find something interesting.

Log-in to the forum, to see images and to download the "swing-all-objects" object (oscillatore2.gsm)
Very interesting...
Anonymous
Not applicable
rocorona wrote:
We had a discussion on this (animate objects) a few weeks ago, on ArchiRADAR, started on an old tutorial.
The aim, in this case, was to simulate the swing movement of a boat, while moving ahead.
The solution proposed is enough for a simple animation, although the waving movement is a crude zig-zag, not something smooth like sinusoid.
Sounds good. We got a smoother motion on a couple objects by multiplying the frame number * SIN or COS