Author Topic: some question about "Collision detection"  (Read 1298 times)

Offline Simdanfeg

  • byte
  • *
  • Posts: 41
    • View Profile
some question about "Collision detection"
« on: December 14, 2011, 11:08:43 am »
Hi,  EgonOlsen
      A few months ago,You give me an example of a collision detection,I have read and understand
it,This example "Collision detection" is now learning,I can not understand this example of the move method,Want your help,thank you very much!
« Last Edit: December 14, 2011, 11:10:26 am by Simdanfeg »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: some question about "Collision detection"
« Reply #1 on: December 14, 2011, 12:03:46 pm »
I think your refer to the example in the wiki!? If so, which part of the method causes you problems? It's basically not much more than checking the controls, move the entity and finally apply some gravity....

Offline Simdanfeg

  • byte
  • *
  • Posts: 41
    • View Profile
Re: some question about "Collision detection"
« Reply #2 on: December 14, 2011, 12:39:54 pm »
Thank you for your timely response,i'll study the api to solve it

Offline K24A3

  • long
  • ***
  • Posts: 231
    • View Profile
Re: some question about "Collision detection"
« Reply #3 on: December 15, 2011, 08:01:48 am »
There are a few good code examples posted in this forum, click on Search at the top left (don't use the search field at the top right since that only searches the current forum section), search for 'checkForCollisionEllipsoid'

Offline Simdanfeg

  • byte
  • *
  • Posts: 41
    • View Profile
Re: some question about "Collision detection"
« Reply #4 on: December 18, 2011, 06:53:17 am »
thanks, ;D