I'm wondering if there is an ODE equivalent Ray class in Bullet.....
Thanks.
RayClass
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: RayClass
You can use the btConvexHullShape and add 2 vertices for start/end. It is best not to use this for moving dynamic objects.
Note that for a raycast, Bullet provides btCollisionWorld::rayTest query.
Hope this helps,
Erwin
Note that for a raycast, Bullet provides btCollisionWorld::rayTest query.
Hope this helps,
Erwin