|
|
In article <39AF5509.75964A45@yahoo.com>, ryan constantine
<rco### [at] yahoocom> wrote:
> has anyone done this before? what i want to do is shoot a projectile in
> an animation simply by setting a variable like shoot=true or something
> like that. then, while it is true, i'd like a shot to be fired at
> either steady or random intervals until set to false. each shot should
> be its own entity. it should query the host object to know which
> direction to move and from where it should start. then it should know
> when it hits something and do something when it does. the projectile i
> have in mind is a laser blast. would the particle patch help me here?
> suggestions anyone?
The particle_system patch might help, though this particle system is
pretty easy to implement in POV-Script. I don't know if the ParticlePOV
patch will be of any use in this.
I have done something very similar to this in POV-Script while
stress-testing my #set patch, I will post an image in p.b.i soon. While
the source uses #set, it can easily be changed to use #local and
#declare(it will just hurt readability).
--
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|