Random Vector within a cone

Posted by Paul on Game Development See other posts from Game Development or by Paul
Published on 2012-04-04T18:10:26Z Indexed on 2012/04/04 23:46 UTC
Read the original article Hit count: 235

Filed under:
|

I'm looking to create a random vector within a cone given the radius (base).

It feels like I've been traversing through many pages on the internet and still I'm no further forward to getting an answer.

I was thinking I could get a point within the base of the cone and have it point towards the apex (then just use the inverse of that for my animation) but this seems like an incredibly long winded approach.

© Game Development or respective owner

Related posts about c++

Related posts about math