r3-legacy/bak/game-lib-d3-rigid-wheel.js

21 lines
433 B
JavaScript
Raw Normal View History

2016-10-28 13:31:21 +02:00
/**
* Rigid Wheel superset
* @param body GameLib.D3.RigidBody
2016-12-15 14:53:39 +01:00
* @param position GameLib.API.Vector3
* @param axis GameLib.API.Vector3
* @param direction GameLib.API.Vector3
2016-10-28 13:31:21 +02:00
* @constructor
*/
2016-10-28 13:11:53 +02:00
GameLib.D3.RigidWheel = function(
2016-10-28 13:31:21 +02:00
body,
2016-10-28 13:11:53 +02:00
position,
axis,
direction
) {
2016-12-15 14:53:39 +01:00
this.id = GameLib.Utils.RandomId();
2016-10-28 13:31:21 +02:00
this.body = body;
2016-10-28 13:11:53 +02:00
this.position = position;
this.axis = axis;
this.direction = direction;
};