Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
General
»
Feedback
»
return for ellipsoidal check
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: return for ellipsoidal check (Read 5271 times)
fireside
double
Posts: 607
return for ellipsoidal check
«
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.
Logged
click here->
Fireside 7 Games
<-
EgonOlsen
Administrator
quad
Posts: 12297
Re: return for ellipsoidal check
«
Reply #1 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.
Logged
fireside
double
Posts: 607
Re: return for ellipsoidal check
«
Reply #2 on:
March 10, 2008, 11:02:12 pm »
O.K. I'll look into that, thanks.
Logged
click here->
Fireside 7 Games
<-
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
General
»
Feedback
»
return for ellipsoidal check