The Daily Click ::. Forums ::. Klik Coding Help ::. Innacurate 360 Shooting bug
 

Post Reply  Post Oekaki 
 

Posted By Message

taco ( Crobasoft )



Registered
  04/04/2004
Points
  131
4th December, 2004 at 17:43:06 -

I've encountered another slight problem with my '360shooter'. I am using a basic 360degree custom movement with a fastloop of 'shoot at 100' (*haven't taken trigg yet..). So, the problem is that occasionally when standing still the first shot will go in an opposite direction. For instance, when facing upward, the first bullet will occasionally go to the right.
I am using 2 active objects on the active which act as action points ( for dual weapon.), and when ctrl is pressed(repeat while) the 2 bullet objects generate a random direction. (active dir)-(random(3)) ( i think ). The 2 action point objects set their direction to the alt val. A of the bullet ( the random dir.), and when ctrl is not pressed the 2 action point objects set direction back to the dir of the active...
If you need a code example, i could possibly show the source file.

thanks.


 
42

taco ( Crobasoft )



Registered
  04/04/2004
Points
  131
5th December, 2004 at 18:04:09 -

i guess no one has an answer..blah.

 
42
   

Post Reply



 



Advertisement

Worth A Click