John Brookes
unread,Jul 23, 2011, 12:43:27 PM7/23/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bulletf...@googlegroups.com
yeah looked in BtWheelInfo and theres no get set for skid (that I can see)
From the docs
/// Output: the amount of grip the wheels have with the driving
surface.
/// 0.0 = wheels are sliding, 1.0 = wheels have traction.
/// Use to trigger sliding sounds, dust trails, skid marks etc.
btScalar m_skidInfo;
Another thing Away3D4Mesh expects a mesh. A model Im using has a few parts for the vehicle body, mainly so I can use a different specular on different parts, so the mesh parts are grouped into an objectConatiner3D.
eg
var carBody:btRigidBody = new btRigidBody(carShape, new Away3D4Mesh(ObjectContainer3D(myVehicle)), 800);
Changed the Away3D4Mesh.as to do3d:ObjectContainer3D same with the get mesh.
No idea if that breaks anything else but everything still working for me and I can pass either a mesh or oc3d.
And
This thing is awsesome. Well done to all :)