killer spawning
3 posts • Page 1 of 1
killer spawning
how can i spawn a killer that kills itself after the first frame?
and how can i add a tracer to the object im spawning (not the killer)?
and how can i add a tracer to the object im spawning (not the killer)?
Phundementalism?
Ain't nobody got thyme fo dat.
Ain't nobody got thyme fo dat.
-

mold999 - Posts: 225
- Joined: Sun Jan 02, 2011 1:35 am
- Location: [176436, 3763234]
Re: killer spawning
So you asking 3 separate question
1) How to spawn killer?
killer := true in spawn script
2) How to make object disappear on next frame?
few ways from simple persistent immortal killer to complicated script
for example geval spawning:
geval("scene.my.addCircle({pos := e.pos; radius := 0.1; density := sim.time > "+sim.time+" ? 0:2})")
3) How to add tracer
You can just spawn tracer on pos above your geom
or write more complicated script with geomId usage (increment it for every spawning geom and put it into tracer script).
1) How to spawn killer?
killer := true in spawn script
2) How to make object disappear on next frame?
few ways from simple persistent immortal killer to complicated script
for example geval spawning:
geval("scene.my.addCircle({pos := e.pos; radius := 0.1; density := sim.time > "+sim.time+" ? 0:2})")
3) How to add tracer
You can just spawn tracer on pos above your geom
or write more complicated script with geomId usage (increment it for every spawning geom and put it into tracer script).
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests



