21 lines
403 B
JavaScript
21 lines
403 B
JavaScript
/**
|
|
* Rigid Wheel superset
|
|
* @param body R3.D3.RigidBody
|
|
* @param position R3.API.Vector3
|
|
* @param axis R3.API.Vector3
|
|
* @param direction R3.API.Vector3
|
|
* @constructor
|
|
*/
|
|
R3.D3.RigidWheel = function(
|
|
body,
|
|
position,
|
|
axis,
|
|
direction
|
|
) {
|
|
this.id = R3.Utils.RandomId();
|
|
this.body = body;
|
|
this.position = position;
|
|
this.axis = axis;
|
|
this.direction = direction;
|
|
};
|