Forum

My cube does not rotate.... :(

16 March 2016 05:10
My cube does not rotate…. :(

I create a cube in blender

I made it spin 357 grades in blender

I export it with blendf4web as json

I created the .js file to load the json file

I created the .html file to load the .js file

The cube appears on the canvas… but it does not rotate…

In the console log appears this error message:

b4w.min.js:337 B4W ERROR: Object "Cube" has no applied animation

Why?

Did I make something wrong in blender?

Did I miss something in blender?

Did I make something wrong in my .js file?

Did I miss something in my .js file?
16 March 2016 05:43
Buen día ! Hacer las siguientes correcciones al código

// línea de código 56:
m_data.load("2016-03-14_cubo_animado.json", load_cb);


// línea de código 81:
var obj = m_scenes.get_object_by_name("cubo");

https://youtu.be/_eibY-5z6Qw
18 March 2016 04:43

sungreen:

Thank you very much

That worked!


Muchas gracias

Eso funcionó


 
Please register or log in to leave a reply.