RaycastVehicle in Xna

osknoes
Posts: 2
Joined: Thu Sep 20, 2007 5:18 pm

RaycastVehicle in Xna

Post by osknoes »

I'm just starting a medium project with XNA in my work.
We choose bullet to do the physics, after seeing this good results.
Now, i'm tryng to encode the class RaycastVehicle, because iwe want do create a simulation car.
Now, I'm in a trouble because I can't find any similar (same) class of btTransform.

Thanks for your time. Sorry for my poor english.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: RaycastVehicle in Xna

Post by Erwin Coumans »

The btTransform class is simply a btVector3 and a btMatrix3x3. The BulletX XNA port directly uses the position and rotation.

Please do some comparisons in other parts of the code for C++ versus C# to find out the mapping with the XNA math classes.
Thanks,
Erwin