Forum

Animation works in blender, but not in b4w

23 March 2016 19:49
The action 'TopAction' runs OK in blender - it just scales the top bone to stretch the vertex group 'Top' (the top face of the cube) upwards.

But when I 'fast preview' or export, the animation doesn't show in B4W. It's there (its name appears and it says it's running, but nothing actually happens.

Its been driving me nuts for days because sometimes I can make a file that works and sometimes not and I can't see what the difference is.
Any help very much appreciated, Phil
24 March 2016 10:54
You need to check the Apply Default Animation checkbox on your armature if you want to play animation on it, but non-uniform scale is not supported, so you'll not see the animation. You can't use scale only by one axis, you need to use all three axes.
Blend4web and that kind of thing.
24 March 2016 12:24

Mikhail Luzyanin: Thanks, fixed it now.
I had failed to spot the significance of the bit about non uniform scaling in the docs. For anyone who's interested I got around it by using separate bones which are just moved (location) instead of scaled to get the desired effect. Thanks again. P
 
Please register or log in to leave a reply.