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 - codertta

Pages: [1]
1
Support / Re: checkForCollisionEllipsoid
« on: December 10, 2015, 10:15:34 am »
jpct-ae ,it has gravitational field ?  Ellipse collision detection is very hard。。。。

2
Support / Re: checkForCollisionEllipsoid
« on: December 10, 2015, 03:46:22 am »
Do you have this in a similar demo?
 
I change ellipsoid =new SimpleVector(x,y,z), set x=20,y=20,z=20, then the obj on the right do not overlap,but left will overlap ,why?

show this pic

3
Support / Re: checkForCollisionEllipsoid
« on: December 09, 2015, 11:06:23 am »
The used ellipsoid is only an approximation of the actual shape of the object. You have to choose a reasonable size for it. In your case, you have rather flat objects, which means that your ellipsoid will most likely look something like (x,y,x) where y is much smaller then x. In addition, make sure that you've set the collision modes properly. More information is here: http://www.jpct.net/wiki/index.php?title=Collision_detection

I'm not sure if the ellipsoid collision detection is the best choice for your kind of application and your objects' shapes. Or at least not the only one. Maybe you want to combine it with some ray-polygon checking of some simple distance based logic that you could do on your own.


how to set ellipsoid size???

obj3d.checkForCollisionEllipsoid(moveRes, ellipsoid, 8);

this ellipsoid is poit only ,how to set ellipsoid size???

4
Support / Re: checkForCollisionEllipsoid
« on: December 09, 2015, 09:48:38 am »
...not sure what you mean...?  ???

hi,Collision detection is not sensitive,there is  overlap,why? as shown this pic

5
Support / checkForCollisionEllipsoid
« on: December 09, 2015, 07:53:34 am »
I use the elliptical collision detection ineffective, there will be overlapping


help me

Pages: [1]