MasterSplinter Posted July 21, 2015 Share Posted July 21, 2015 Okay, this is driving me crazy how do I express a color3 as a value for a key frame animation? Quote Link to comment Share on other sites More sharing options...
Wingnut Posted July 21, 2015 Share Posted July 21, 2015 http://playground.babylonjs.com/#HH1U5#1 line 43 at4 = new BABYLON.Animation("at4", "material.diffuseColor", 30, BABYLON.Animation.ANIMATIONTYPE_COLOR3, BABYLON.Animation.ANIMATIONLOOPMODE_CYCLE); Quote Link to comment Share on other sites More sharing options...
MasterSplinter Posted July 21, 2015 Author Share Posted July 21, 2015 TY for the link -- I swear I tried that tho -- Edit nvm I forgot to add the "(material.)emissiveColor" in my animation call -- oopsies Quote Link to comment Share on other sites More sharing options...
Wingnut Posted July 21, 2015 Share Posted July 21, 2015 Been there. Even while I was typing my last comment, I thought "I bet he/she forgot .material". That oopsie has gotten me THREE times already. How pathetic is THAT? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.