Tween.js:

Initially Tween.js seemed very simple and easy to set up, however it did not prove to be that way. I’m not going to go into all of the specifics here for this was a very long and confusing process but after a lot of testing I was able to locate a solution, to get to this solution I created multiple codePen projects (http://codepen.io/Keeley/) to try and get some outside help which did not prove to be a very efficient use of my time. I was communicating with the developer of Tween.js on the gitHub issue page: https://github.com/sole/tween.js/issues/116 she kept on suggesting the same solution which made no difference to my problem.

However during the process of creating simplified versions of my project so that other people could see exactly what my problem was without having the huge index file I was working with. I was able to figure out that the problem was within the onUpdate section of my code.

This process was not a complete loss however, I was able to refine my internet search and found a very helpful article that I was able to read  to help get my function working properly: http://www.96methods.com/2012/01/three-js-moving-objects/. From which I fixed my tweening code and now have smooth camera tween and avatar scale tweens.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s