Jump to content

2D boundingSphere in XNA

seaturtleftw's Photo
Posted Nov 28 2010 12:58 PM
4176 Views

hi everyone i'm trying use a boundingsphere to check if my two planets are in range of eachother.

_planetSphere = new BoundingSphere(new Vector3(PlanetText.Width /2,PlanetText.Height /2,0), Radius);


now the basic idea is that the object is a circle and i'm not entirely sure how to set the radius of it could someone help me out and send me in the right direction

0 Replies