Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Sal54321

Pages: [1]
Support / Re: Collision Detection During Runtime
« on: February 13, 2013, 11:48:11 pm »

Support / Collision Detection During Runtime
« on: February 13, 2013, 12:34:57 am »
Hello, I have a question about collisions.

Is it okay for me to modify the collision mode for a certain object during runtime? For example, let's say there are three objects, call them ObjectA, ObjectB, ObjectC.

I set ObjectA to COLLISION_CHECK_SELF and set ObjectB and ObjectC to COLLISION_CHECK_OTHERS then do  ObjectA.checkForCollisionEllipsoid method call. This way it will be checking two objects for collision. Then, once done, change those three object collision modes to something else, like, ObjectA to COLLISON_CHECK_OTHERS and set ObjectB and ObjectC  to COLLISON_CHECK_SELF and then do ObjectB.checkForCollisionEllipsoid method call. That way ObjectB checks only one object for collision rather than two.

Is this okay or will it cause a performance issue (I won't be just using three objects, it will most likely be three arrays containing objects) or is my understanding of how the collisions work completely off?

I'm asking this because I'm trying to do the least amount of collisionDetection with a decent amount of objects (15+ objects)

Feedback / Re: Car Sample
« on: January 24, 2013, 06:08:54 am »
Oh, thanks for telling me.

Feedback / Car Sample
« on: January 23, 2013, 09:33:13 pm »
Hello, I don't know if I'm blind (well, I am wearing contact lenses) or what, but I can't find the source code for the car project anywhere. I tried looking in the downloads section but the only car related example is within the old stuff subsection (unless that's the one everyone has been looking at). I tried using the search but I couldn't find it. Would anyone know where exactly it's located? Thanks.

   - Sal

Pages: [1]