Collision Events

  ... discussions about development with the GLES2 branch of AndEngine.

Re: Collision Events

Postby nxnwsoftware » Sat Mar 17, 2012 1:13 pm

baladewa88 wrote:I'm sorry. I need to ask, where i can find PhysicsWorld class. What class do i implement?


it's part of the AndEnginePhysicsBox2DExtension, you can "git" it from https://github.com/nicolasgramlich/AndE ... ension.git
nxnwsoftware
 
Posts: 96
Joined: Wed Jan 11, 2012 1:01 am
Location: DFW Area, Texas, USA

Re: Collision Events

Postby baladewa88 » Sat Mar 17, 2012 2:54 pm

nxnwsoftware wrote:
baladewa88 wrote:I'm sorry. I need to ask, where i can find PhysicsWorld class. What class do i implement?


it's part of the AndEnginePhysicsBox2DExtension, you can "git" it from https://github.com/nicolasgramlich/AndE ... ension.git


owh. So that class not include in andengine.jar?

oke. i'l try that. thanks :P
baladewa88
 
Posts: 3
Joined: Thu Mar 15, 2012 9:34 am

Re: Collision Events

Postby nxnwsoftware » Sun Mar 18, 2012 2:26 am

baladewa88 wrote:owh. So that class not include in andengine.jar?

oke. i'l try that. thanks :P


so if you're using the .jar file, are you using GLES1 or GLES2?
nxnwsoftware
 
Posts: 96
Joined: Wed Jan 11, 2012 1:01 am
Location: DFW Area, Texas, USA

Re: Collision Events

Postby baladewa88 » Sun Mar 18, 2012 9:14 am

nxnwsoftware wrote:
so if you're using the .jar file, are you using GLES1 or GLES2?


Now i use GLES2 with link Source, not jar anymore.
But after i link source the box2d there's a problem in com.badlogic.gdx.utils, org.andengine.extension.physic.box2d and org.andengine.extension.physic.box2d.util

after i see in the code, they import org.andengine.util but there's no package with that name in box2d. Any solution?
baladewa88
 
Posts: 3
Joined: Thu Mar 15, 2012 9:34 am

Re: Collision Events

Postby kabuto178 » Sat Sep 14, 2013 9:20 pm

Is setting a contact listener on the physicsWorld the best solution to detect collisions? I ask because if you have to do double checking for every element you want to add an event for that might get pretty big, or maybe I am missing something here. :?:
kabuto178
 
Posts: 105
Joined: Sun Sep 08, 2013 2:31 am

Previous

Return to GLES2

Who is online

Users browsing this forum: marco250677 and 30 guests