Jump to content

  • Log In with Google      Sign In   
  • Create Account


alexmb522

Member Since 16 Dec 2012
Offline Last Active Mar 12 2013 10:54 PM

Topics I've Started

Get RigidBody from rayTest() in Bullet Physics

16 December 2012 - 04:38 PM

I've recently started implementing physics in my game. I'm using the java port of the bullet physics engine. I'm trying to interact with rigid bodies in my scene using rayTest() to select what rigid body to interact with. I'm confused on the correct way of using the rayTest(start, end, callback) function. From my callback I can retrieve a CollisionBody but I need a RigidBody. I'm wondering If I'm about the this the wrong way. Thanks.

PARTNERS