cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Design forum

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 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

rocorona
Contributor
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

Didn't find the answer? Start a new discussion

Labels

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!