Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.HavokConeLimitConstraint


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
//=============================================================================
// The Havok Cone Limit class
// By using a seperate constraint on top a normal instead of a single constraint
// that has a limit in it (eg LimitedHingeConstraint) you are wasting CPU cycles!
//=============================================================================

class HavokConeLimitConstraint extends HavokConstraint
    native
    placeable;

cpptext
{
#ifdef UNREAL_HAVOK
	virtual bool HavokInitActor();
	virtual void UpdateConstraintDetails();
#endif
} 

var(HavokConstraint) float hkHalfAngle; // ( 65535 = 360 deg )

// Internal index references. Do not alter.
 var const transient int basisAIndex;
 var const transient int basisBIndex;
 var const transient int coneIndex;
//

defaultproperties
{
    hkHalfAngle=8200 // about 45 deg
   
	Texture=Texture'Engine_res.Havok.S_HkConeLimitConstraint'
    bDirectional=True
    AutoComputeLocals=HKC_AutoComputeBFromC; // base the B basis on the Constraint Actor rotation.
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: ne 5.9.2004 16:01:22.000 - Creation time: st 23.5.2018 00:10:44.073 - Created with UnCodeX