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 |
// Havok 6 Degree of Freedom constraint, so that leaves no degrees of freedom! // Used as a replacement for the likes of Karma RPRO constraints // It is very strong by default, so use the specific damping etc in HkConstraint // to lessen if desired. Using keyframed objects with MoveActor is prefered to this // constraint as the keyframed object is both cheaper and more tolerant (velocity based) // Alternatively, use the HavokOrientationAction which is much cheaper, but weaker (which may be desired) class Havok6DOFConstraint extends HavokConstraint native placeable; cpptext { #ifdef UNREAL_HAVOK virtual bool HavokInitActor(); virtual void UpdateConstraintDetails(); #endif } // If you change the following two bools, call RecreateConstraint not UpdateConstraint. var(HavokConstraint) bool bConstrainAngular; //orientation var(HavokConstraint) bool bConstrainLinear; //pos // Internal index references. Do not alter. var const transient int pivotAIndex; var const transient int pivotBIndex; var const transient int basisAIndex; var const transient int basisBIndex; // defaultproperties { Texture=Texture'Engine_res.Havok.S_Hk6DOFConstraint' bDirectional=True bConstrainLinear=True bConstrainAngular=True } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |