Jump to content


- - - - -

DarkGDK/Spary Collision Object Bound Size?


2 replies to this topic

#1 Flamesilver

    New Member

  • Members
  • PipPip
  • 28 posts

Posted 24 February 2011 - 10:09 PM

I'm trying to code my own elastic collision code, since I can't get SC_ObjectCollision() to give me SC_GetCollisionBounceX() and Y() properly.

I've used SC_SetupObject() and am drawing the spherical bounding sphere (lol) so I get see it. How do I get the exact radius size of the bounding sphere so I can perform the collision calculations?

Thanks,

Flamesilver

#2 Reedbeta

    DevMaster Staff

  • Administrators
  • 5307 posts
  • LocationBellevue, WA

Posted 24 February 2011 - 10:36 PM

These sorts of questions about details of the API are probably going to get better answers on the DarkGDK forums.
reedbeta.com - developer blog, OpenGL demos, and other projects

#3 Flamesilver

    New Member

  • Members
  • PipPip
  • 28 posts

Posted 24 February 2011 - 11:56 PM

Posted there now, thanks!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users