Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 |
class KTire extends KActor native abstract; var KCarWheelJoint WheelJoint; // joint holding this wheel to chassis etc. // TYRE MODEL // FRICTION var float RollFriction; // friction coeff. in tyre direction var float LateralFriction; // friction coeff. in sideways direction // SLIP // slip = min(maxSlip, minSlip + (slipRate * angular vel)) var float RollSlip; // max first-order (force ~ vel) slip in tyre direction var float LateralSlip; // max first-order (force ~ vel) slip in sideways direction var float MinSlip; // minimum slip (both directions) var float SlipRate; // amount of extra slip per unit velocity // NORMAL var float Softness; // 'softness' in the normal dir var float Adhesion; // 'stickyness' in the normal dir var float Restitution; // 'bouncyness' in the normal dir // Other Output information var const float GroundSlipVel; // relative tangential velocity of wheel against ground (0 for static, >0 for slipping) // could use this to trigger squeeling noises/smoke var const float SpinSpeed; // current speed (rads/sec) of this wheel spinning about its axis defaultproperties { RollFriction=0.300000 LateralFriction=0.300000 RollSlip=0.085000 LateralSlip=0.060000 MinSlip=0.001000 SlipRate=0.000500 Softness=0.000200 Restitution=0.100000 UseReticleOnEvents(0)="UseReticleText" UseReticleOnEvents(1)="UseReticleCorners" UseReticleOnEvents(2)="UseReticleTopBars" ProximityReticleOnEvents(0)="ProximityReticleCorners" ProximityReticleOnEvents(1)="ProximityReticleTopBars" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |