Tips on animating objects
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-21 02:41 AM
2012-05-21
02:41 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-21 03:20 AM
2012-05-21
03:20 AM
Can you make the wheels spin?

Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-21 03:25 AM
2012-05-21
03:25 AM
s2art wrote:haha sure can! just multiply their angle parameter e.g. wheelAngle like this:
Can you make the wheels spin?
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-21 03:35 AM
2012-05-21
03:35 AM
sdb wrote: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.s2art wrote:haha sure can! just multiply their angle parameter e.g. wheelAngle like this:
Can you make the wheels spin?
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.
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
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-21 12:53 PM
2012-05-21
12:53 PM
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)
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
_________________
_________________
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-21 01:42 PM
2012-05-21
01:42 PM
rocorona wrote:Very interesting...
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)
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-21 10:55 PM
2012-05-21
10:55 PM
rocorona wrote:Sounds good. We got a smoother motion on a couple objects by multiplying the frame number * SIN or COS
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.