kovacsv / JSModeler

A JavaScript framework to create and visualize 3D models.
MIT License
655 stars 123 forks source link

Not sure how to do some kind of animation? #30

Open thebravoman opened 7 years ago

thebravoman commented 7 years ago

I would like to slowly rotate and object. Is there a place in the documentation that I am missing that shows how?

kovacsv commented 7 years ago

Unfortunately there is no built-in support for animations in JSModeler, but of course you can set the transformation for the generated three.js objects in your render loop.

See this fiddle for example: http://jsfiddle.net/8ugeyv4u/1/