Sign in to follow this  
Richard C

CreatandStartAnimation query

Recommended Posts

I am using CreatandStartAnimation to change the diffuse colour of an object (created in Blender). It works as it should, but it appears the change isn't permanent. If I console.log the diffuse color of the object before and then after the animation  the object's diffusecolor is the same.

Am I right ?


Richard C


***** I was not thinking it through The post animation console.log was running before the animation had finished ! Console.log within a Timeout function ensured the log run after the animation.

The answer to my question is that an animation does change the diffuseColour of an object !!

Edited by Richard C

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.