how to scale object in different axis?
28 January 2016 14:15
28 January 2016 19:07
Hi,
The transform API only provide a function to scale object in all axis,if i want to just scale object in one axis,what should i do?Currently Blend4Web supports only uniform scale. You can probably try to achieve this using morphing or by overriding object's geometry.
29 January 2016 04:26
Ответ на сообщение пользователя Yuri KovelenovThank you for your reply!
Hi,
Currently Blend4Web supports only uniform scale. You can probably try to achieve this using morphing or by overriding object's geometry.
I think override object's geometry may be the solution,but i don't konw how to use the method `
override_geometry(obj, mat_name, ibo_array, positions_array, smooth_normals)
`,especially the param "ibo_array", i can't find any more document about it, hope more specific demo or comment will be provided.
29 January 2016 09:54
29 January 2016 12:36
I think override object's geometry may be the solution,but i don't konw how to use the method `Please take a look at this code snippet.