www.jpct.net

General => Feedback => Topic started by: fireside on March 10, 2008, 11:58:43 am

Title: return for ellipsoidal check
Post by: fireside on March 10, 2008, 11:58:43 am
Not sure where to put this, but it would be nice if the check for ellipsoid collision returned an array with both the new vector position and an object ID if there was a collision.
Title: Re: return for ellipsoidal check
Post by: EgonOlsen on March 10, 2008, 12:03:38 pm
You can implement a collision listener (ICollisionListener) which gives you the id information. Ellipsoid collision detection can't be limited to one id, it may return many ids of all objects hit along the path.
Title: Re: return for ellipsoidal check
Post by: fireside on March 10, 2008, 11:02:12 pm
O.K.  I'll look into that, thanks.