Code center > Suggestions

.shotspeed

(1/1)

EricL:
Kind of think shot speed should be under the control of the bot.  I'm all set up in the code to do this.  Would probably make the cost polynomial like .shootval.

Thoughts?

Numsgil:
Your doing swept-volume tests, right?  It shouldn't be a problem as long as you can make sure that shots moving fast won't pass through a shape or bot.

Testlund:

--- Quote from: EricL ---Kind of think shot speed should be under the control of the bot.  I'm all set up in the code to do this.  Would probably make the cost polynomial like .shootval.

Thoughts?
--- End quote ---

Could you make shots released from corpses just drift randomly instead of a straight line, moving with the same speed set for shapes? ..IF it doesn't affect performance a lot.

EricL:

--- Quote from: Numsgil ---Your doing swept-volume tests, right?  It shouldn't be a problem as long as you can make sure that shots moving fast won't pass through a shape or bot.
--- End quote ---
Yes, exactly.  The current algorithm is all set for very fast shots, even laser beams if we want.  It already has the code for figuring out which hit to use when a shot passes through multiple objects in a single cycle.


--- Quote from: Testlund ---Could you make shots released from corpses just drift randomly instead of a straight line, moving with the same speed set for shapes? ..IF it doesn't affect performance a lot.
--- End quote ---
I can make shtos from corpses do anything we want them to do.

Navigation

[0] Message Index

Go to full version