Inverse Kinematics animations for Spring in Blender - Page 2

Inverse Kinematics animations for Spring in Blender

Resources to get you going on your new project, or to help you over some emergent problems during your development cycle.

Moderator: Moderators

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Inverse Kinematics animations for Spring in Blender

Post by PicassoCT »

It .. it could be implemented?

You have a widget that collects all visible units.

Then you have animations who look at a map of visible - and execute animations only if the unit is visible.

If you click somewhere else, the newly selected units get called - and there animations accelerated..

But you would need to decouple aim animations from this- meaning aiming turrets etc would still have to be executed no matter what.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Inverse Kinematics animations for Spring in Blender

Post by smoth »

Beherith wrote: 06 Jun 2020, 00:42 Cause i'm used to it. You can change out the lines to lua, or just convert it, or even submit a PR ;)
<3 bos -> lua is no biggie :P
9heart wrote: 12 Aug 2020, 17:44 could one script some kind of an "anim LOD"? where units off-screen only receive major sim-frame updates every 30 frames or something
animations are synced
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Inverse Kinematics animations for Spring in Blender

Post by Beherith »

SkeletorS3O now supports Variable scale BOS scripts:

You can now click on Variable scale on the SkeletorS30 panel. This will export all move commands with a MOVESCALE parameter. This is #define MOVESCALE 100 by default, and allows you to scale move commands (which make scaling units easier, as turn commands are scale-invariant by definition, move commands are not).
User avatar
azaremoth
Cursed Developer
Posts: 549
Joined: 17 Feb 2005, 22:05

Re: Inverse Kinematics animations for Spring in Blender

Post by azaremoth »

Great work Beherith. It took me a while to actually test it - because life happened (esp. Covid with small kids was/is eating up my last quantum of free time). The blender workflow can be nicely applied, also conversion to lua is not too much work. Many thanks also for the detailed tutorials! :-)

The animation can still be improved (one leg is streched a little too much forward, the arms could strech a little more, ...) - but it is a pretty good start:
https://youtu.be/-6bUUl1rxgg
Post Reply

Return to “Game Development Tutorials & Resources”