Method | Description | |
---|---|---|
RedirectCalls ( List |
||
SimulationStep ( ushort vehicleID, Vehicle &vehicleData, Vehicle &frameData, ushort leaderID, Vehicle &leaderData, int lodPhysics ) : void |
Method | Description | |
---|---|---|
CalculateSegmentPosition ( ushort vehicleID, Vehicle &vehicleData, PathUnit nextPosition, PathUnit position, uint laneID, byte offset, PathUnit prevPos, uint prevLaneID, byte prevOffset, int index, Vector3 &pos, Vector3 &dir, float &maxSpeed ) : void |
Method | Description | |
---|---|---|
CalculateMaxSpeed ( float targetDistance, float targetSpeed, float maxBraking ) : float | ||
CheckCitizen ( ushort vehicleID, Vehicle &vehicleData, Segment3 segment, float lastLen, float nextLen, float &maxSpeed, bool &blocked, float maxBraking, ushort otherID, CitizenInstance &otherData, Vector3 min, Vector3 max ) : ushort | ||
CheckOtherVehicle ( ushort vehicleID, Vehicle &vehicleData, Vehicle &frameData, float &maxSpeed, bool &blocked, Vector3 &collisionPush, float maxBraking, ushort otherID, Vehicle &otherData, Vector3 min, Vector3 max, int lodPhysics ) : ushort | ||
CheckOtherVehicles ( ushort vehicleID, Vehicle &vehicleData, Vehicle &frameData, float &maxSpeed, bool &blocked, Vector3 &collisionPush, float maxDistance, float maxBraking, int lodPhysics ) : void | ||
DisableCollisionCheck ( ushort vehicleID, Vehicle &vehicleData ) : bool |
protected CalculateSegmentPosition ( ushort vehicleID, Vehicle &vehicleData, PathUnit nextPosition, PathUnit position, uint laneID, byte offset, PathUnit prevPos, uint prevLaneID, byte prevOffset, int index, Vector3 &pos, Vector3 &dir, float &maxSpeed ) : void | ||
vehicleID | ushort | |
vehicleData | Vehicle | |
nextPosition | PathUnit | |
position | PathUnit | |
laneID | uint | |
offset | byte | |
prevPos | PathUnit | |
prevLaneID | uint | |
prevOffset | byte | |
index | int | |
pos | Vector3 | |
dir | Vector3 | |
maxSpeed | float | |
return | void |
public static RedirectCalls ( List |
||
callStates | List |
|
return | void |
public SimulationStep ( ushort vehicleID, Vehicle &vehicleData, Vehicle &frameData, ushort leaderID, Vehicle &leaderData, int lodPhysics ) : void | ||
vehicleID | ushort | |
vehicleData | Vehicle | |
frameData | Vehicle | |
leaderID | ushort | |
leaderData | Vehicle | |
lodPhysics | int | |
return | void |