Tools/Utilities for Spring - Page 3

Tools/Utilities for Spring

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

Your syntax is pretty wrong. Even if we take into accound that the angular (<...>) and linear ([...]) conversion constants can be changed.

It should be:
turn piece to x/y/z-axis <degree> speed <degree per seconds>;
move piece to x/y/z-axis [3do distance units] speed [3do distance units per seconds];
sleep time in milliseconds;


for instance:
turn ball to to y-axis <-60> speed <120>;
move ball to to z-axis [5] speed [10];
sleep 500;


Note that move ... (34) ... would be a ludicrously small displacement (it would be [0.0002]), and that turn ... speed <324545>; would be a ludicrously fast speed (it would be 900 turns per seconds).

Maybe it's just you didn't care much about syntax as you just wanted to provide an exemple, but still, it hurted me to see bos syntax slaughtered.
mongus
Posts: 1463
Joined: 15 Apr 2005, 18:52

Post by mongus »

i didnt think of 3dstudio.

and 3dstudio has already an exporter (not for animations).


Iceblue... you have any experience on Python?
User avatar
BlueIce
Posts: 61
Joined: 27 Sep 2005, 10:05

Post by BlueIce »

zwzsg wrote: Maybe it's just you didn't care much about syntax as you just wanted to provide an exemple, but still, it hurted me to see bos syntax slaughtered.
True, i'm sorry for the slaughter :P.



mongus wrote: i didnt think of 3dstudio.

and 3dstudio has already an exporter (not for animations).


Iceblue... you have any experience on Python?
No... Is maxscript like phyton? I think I can learn the basics in few days...
Post Reply

Return to “Engine”