r3-legacy/src/game-lib-raycast-vehicle.js

17 lines
346 B
JavaScript
Raw Normal View History

2016-10-14 12:32:53 +02:00
/**
* Physics Raycast Vehicle Superset
* TODO: body + wheels[]
* @constructor
*/
2016-10-18 13:37:38 +02:00
GameLib.D3.RaycastVehicle = function(
2016-10-14 12:32:53 +02:00
) {
this.vehicleObject = null;
};
2016-10-18 13:37:38 +02:00
GameLib.D3.RaycastVehicle.prototype.GetWheelInfo = function(
) {
// note: need a way to determine which engine we are currently using
return this.vehicleObject.wheelInfos;
};