30 void SaveBinaryState(
StreamOut &inStream)
const;
33 void RestoreBinaryState(
StreamIn &inStream);
37 float mInertia = 10.0f;
38 float mAngularDamping = 0.5f;
39 float mMaxBrakeTorque = 15000.0f;
40 float mDifferentialRatio = 6.0f;
51 float mAngularVelocity = 0.0f;
#define JPH_EXPORT
Definition: Core.h:227
unsigned int uint
Definition: Core.h:439
#define JPH_NAMESPACE_END
Definition: Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:361
std::vector< T, STLAllocator< T > > Array
Definition: STLAllocator.h:81
#define JPH_DECLARE_SERIALIZABLE_NON_VIRTUAL(linkage, class_name)
Definition: SerializableObject.h:71
ETrackSide
On which side of the vehicle the track is located (for steering)
Definition: VehicleTrack.h:17
VehicleTrack[(int) ETrackSide::Num] VehicleTracks
Definition: VehicleTrack.h:54
Definition: StateRecorder.h:48
Simple binary input stream.
Definition: StreamIn.h:13
Simple binary output stream.
Definition: StreamOut.h:13
Runtime data for tank tracks.
Definition: VehicleTrack.h:45
Generic properties for tank tracks.
Definition: VehicleTrack.h:25
Array< uint > mWheels
Indices of wheels that are inside this track, should include the driven wheel too.
Definition: VehicleTrack.h:36
uint mDrivenWheel
Which wheel on the track is connected to the engine.
Definition: VehicleTrack.h:35