17 lines
346 B
JavaScript
17 lines
346 B
JavaScript
/**
|
|
* Physics Raycast Vehicle Superset
|
|
* TODO: body + wheels[]
|
|
* @constructor
|
|
*/
|
|
GameLib.D3.RaycastVehicle = function(
|
|
) {
|
|
this.vehicleObject = null;
|
|
};
|
|
|
|
GameLib.D3.RaycastVehicle.prototype.GetWheelInfo = function(
|
|
|
|
) {
|
|
// note: need a way to determine which engine we are currently using
|
|
return this.vehicleObject.wheelInfos;
|
|
};
|