Vehicle example in version 2.10

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Vehicle example in version 2.10

Postby Leadwerks » Sun Oct 04, 2009 6:05 pm

How is the vehicle able to steer? The jointlibrary header file only has these commands listed:
typedef void (*DGRaycastVehicleTireTransformCallback) (NewtonUserJoint *car);
JOINTLIBRARY_API NewtonUserJoint *DGRaycastVehicleCreate (int maxTireCount, const dFloat* cordenateSytemInLocalSpace, NewtonBody* carBody);
JOINTLIBRARY_API void DGRaycastVehicleAddTire (NewtonUserJoint *car, void *userData, const dFloat* localPosition, dFloat mass, dFloat radius, dFloat width, dFloat friction, dFloat suspensionLength, dFloat springConst, dFloat springDamper, int castMode);
JOINTLIBRARY_API void DGRaycastVehicleSetTireTransformCallback (NewtonUserJoint *car, DGRaycastVehicleTireTransformCallback callback);
JOINTLIBRARY_API int DGRaycastVehicleGetTiresCount(NewtonUserJoint *car);
JOINTLIBRARY_API void* DGRaycastVehicleGetTiresUserData(NewtonUserJoint *car, int tireIndex);
JOINTLIBRARY_API void DGRaycastVehicleGetTireMatrix(NewtonUserJoint *car, int tireIndex, dFloat* tireMatrix);
User avatar
Leadwerks
 
Posts: 569
Joined: Fri Oct 27, 2006 2:54 pm

Re: Vehicle example in version 2.10

Postby Leadwerks » Sun Oct 04, 2009 7:37 pm

Oh, I see the cpp code. Will the steering commands be exposed again soon in the joint library dll?
User avatar
Leadwerks
 
Posts: 569
Joined: Fri Oct 27, 2006 2:54 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests