Class VehicleInterpolationData
java.lang.Object
zombie.vehicles.VehicleInterpolationData
- All Implemented Interfaces:
Comparable<VehicleInterpolationData>
- Direct Known Subclasses:
PhysicsPacket
public class VehicleInterpolationData
extends Object
implements Comparable<VehicleInterpolationData>
Created by kroto on 1/17/2017.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float
protected float
protected float
protected float
protected float
protected float
protected long
protected float
protected float
protected float
protected float[]
protected short
protected float[]
protected float[]
protected float[]
protected float
protected float
protected float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
getPosition
(org.joml.Vector3f vector3f) void
getVelocity
(org.joml.Vector3f vector3f) protected void
setNumWheels
(short short0)
-
Field Details
-
time
protected long time -
x
protected float x -
y
protected float y -
z
protected float z -
qx
protected float qx -
qy
protected float qy -
qz
protected float qz -
qw
protected float qw -
vx
protected float vx -
vy
protected float vy -
vz
protected float vz -
engineSpeed
protected float engineSpeed -
throttle
protected float throttle -
wheelsCount
protected short wheelsCount -
wheelSteering
protected float[] wheelSteering -
wheelRotation
protected float[] wheelRotation -
wheelSkidInfo
protected float[] wheelSkidInfo -
wheelSuspensionLength
protected float[] wheelSuspensionLength
-
-
Constructor Details
-
VehicleInterpolationData
public VehicleInterpolationData()
-
-
Method Details
-
setNumWheels
protected void setNumWheels(short short0) -
getPosition
public void getPosition(org.joml.Vector3f vector3f) -
getVelocity
public void getVelocity(org.joml.Vector3f vector3f) -
compareTo
- Specified by:
compareTo
in interfaceComparable<VehicleInterpolationData>
-