Spawn tracer with dynamic size and color
4 posts • Page 1 of 1
Spawn tracer with dynamic size and color
Hello I'm trying to spawn a tracer that will grow bigger and gain transparecy. How can I do this?
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
Re: Spawn tracer with dynamic size and color
hmm...
Dynamic variables?
You could use geval for this I think.
Dynamic variables?
You could use geval for this I think.
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
-

Matten - Posts: 435
- Joined: Mon Apr 05, 2010 2:03 pm
- Location: The Netherlands
Re: Spawn tracer with dynamic size and color
I'm not do fammiliar with the geval.
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
Re: Spawn tracer with dynamic size and color
Example for circle with dynamic color, I know text is not possible for a circle, but it's as example for the escape string.
- Code: Select all
geval("Scene.addCircle({
pos := e.pos;
radius := 0.1;
text := /"Watch the escape string/";
colorHSVA := {[sim.time, 1, 1, 1]}
})")
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
-

Matten - Posts: 435
- Joined: Mon Apr 05, 2010 2:03 pm
- Location: The Netherlands
4 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests




