Non-uniform scaling
01 October 2015 19:51
01 October 2015 20:49
Hi,
Is there a way to scale along an axis with the API? TSR and set_scale() only allow for a single number, but if I wanted to stretch an object along the Z-axis, how would I do that?Although Blend4Web does not support non-uniform scaling, you can easily achieve the stretching effect by using shape keys. Please see this code snippet for an example of how to use them.
01 October 2015 22:31
05 October 2015 10:32
Please see this code snippet for an example of how to use them
And also take a look at the example from this thread, please.