playMaker

Author Topic: Animate Color Clone...  (Read 1805 times)

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Animate Color Clone...
« on: September 04, 2014, 04:27:52 PM »
Hi, I set some bullets to animate a color and it works but every time I create a new clone of that same object it makes every clone re animate that color... Anyone know how I can fix this?
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Animate Color Clone...
« Reply #1 on: September 04, 2014, 04:31:57 PM »
did you used a global variable ?

if so you should set the same with a simple variable will be only affect by active asset

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Animate Color Clone...
« Reply #2 on: September 04, 2014, 04:32:23 PM »
It's because I was using Set Material Color which was obviously affecting the material each time.

Edit: It wasn't a global but it might as well been since it was setting the material shared by each object. Thanks for the reply
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez