CShotManipulator

From Valve Developer Community
Revision as of 19:43, 6 January 2006 by Ts2do (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Created with the shoot direction in the constructor, this helper class can spread out shots with a given spread.

Pertaining to this, Tim Holt has created a modification to this shot distribution class so it's biased.

http://mathworld.wolfram.com/images/eps-gif/CircularDistribution_1000.gif

The source code is available here