home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
Engine
/
Classes
/
KConeLimit.uc
< prev
next >
Wrap
Text File
|
2003-06-23
|
888b
|
34 lines
//=============================================================================
// The Cone Limit joint class.
//=============================================================================
#exec Texture Import File=Textures\S_KConeLimit.pcx Name=S_KConeLimit Mips=Off MASKED=1
class KConeLimit extends KConstraint
native
placeable;
cpptext
{
#ifdef WITH_KARMA
virtual void KUpdateConstraintParams();
#endif
}
var(KarmaConstraint) float KHalfAngle; // ( 65535 = 360 deg )
var(KarmaConstraint) float KStiffness;
var(KarmaConstraint) float KDamping;
//native final function KSetHalfAngle(float HalfAngle);
//native final function KSetStiffness(float Stiffness);
//native final function KSetDamping(float Damping);
defaultproperties
{
KHalfAngle=8200 // about 45 deg
KStiffness=50
Texture=S_KConeLimit
bDirectional=True
}