POV-Ray : Newsgroups : povray.general : animated projectiles shot while moving : Re: animated projectiles shot while moving Server Time
9 Aug 2024 11:21:06 EDT (-0400)
  Re: animated projectiles shot while moving  
From: Fran Firman
Date: 4 Sep 2000 20:00:27
Message: <B5DA5968yf@palm>
> has anyone done this before?  what i want to do is shoot a 
> projectile in

Yes  I have done a simular system.
If you go to http://zap.to/reallife I have an animation called 
blast that shows what I did. It will take me a little while to 
get the source code out into a readable form thou. 

> 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?
-- 
Piloteers do it on the road


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.