Results 1 to 10 of 21

Thread: Circle vs pie segment collision detection

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    The function assumes that the angles are in radians so you might need to multiply your degree angles by (Pi / 180).
    EDIT: Here's my test app.
    Attached Files Attached Files
    Last edited by Dan; 28-10-2010 at 05:48 AM.

  2. #2
    Quote Originally Posted by Dan View Post
    The function assumes that the angles are in radians so you might need to multiply your degree angles by (Pi / 180)
    <Drumroll...> that was it...it is now working, sweet!! thanks mate

    <gives a beer>

    Now that it is working, I might convert the function to use my plain, vanilla records so lesser versions of Delphi can compile the code too

    cheers,
    Paul

  3. #3
    it was an interesting problem to solve.

  4. #4
    Here is a picture of the Sentry zapping the user character



    Thanks again

    cheers,
    Paul

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •