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.
RaycastVehicle in Xna
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: RaycastVehicle in Xna
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
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