Anyway to make any object or anything change color very fast
2 posts • Page 1 of 1
Anyway to make any object or anything change color very fast
i've seen it in some scenes but i never knew how to do it, its like a rainbow, the only thing i know how to do script wise is interia multiplier and onhitbylaser then it spawns a circle and it shoots (The circle has a laser on it too so it's kind of like a gun)
Could I have a script ? thanks guys
Could I have a script ? thanks guys
- decepticon
- Posts: 21
- Joined: Sat Dec 17, 2016 12:20 pm
Re: Anyway to make any object or anything change color very fast
pick one of the three lines that I put in the poststep. Dont try all at once:
Poststep : (e)=>{
colorhsva = colorhsva + [2,0,0,0];
color = [rand.uniform01,rand.uniform01,rand.uniform01,1];
colorhsva = [360*rand.uniform01,1,1,1];
}
Poststep : (e)=>{
colorhsva = colorhsva + [2,0,0,0];
color = [rand.uniform01,rand.uniform01,rand.uniform01,1];
colorhsva = [360*rand.uniform01,1,1,1];
}
- FRA32
- Posts: 229
- Joined: Wed Dec 03, 2014 9:51 pm
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 15 guests