home *** CD-ROM | disk | FTP | other *** search
/ Game Level Design / GLDesign.bin / Software / UnrealEngine2Runtime / UE2Runtime-22262001_Demo.exe / Engine / Classes / KConeLimit.uc < prev    next >
Text File  |  2003-06-23  |  888b  |  34 lines

  1. //=============================================================================
  2. // The Cone Limit joint class.
  3. //=============================================================================
  4.  
  5. #exec Texture Import File=Textures\S_KConeLimit.pcx Name=S_KConeLimit Mips=Off MASKED=1
  6.  
  7. class KConeLimit extends KConstraint
  8.     native
  9.     placeable;
  10.  
  11. cpptext
  12. {
  13. #ifdef WITH_KARMA
  14.     virtual void KUpdateConstraintParams();
  15. #endif
  16. }
  17.  
  18. var(KarmaConstraint) float KHalfAngle; // ( 65535 = 360 deg )
  19. var(KarmaConstraint) float KStiffness;
  20. var(KarmaConstraint) float KDamping;
  21.  
  22. //native final function KSetHalfAngle(float HalfAngle);
  23. //native final function KSetStiffness(float Stiffness);
  24. //native final function KSetDamping(float Damping);
  25.  
  26.  
  27. defaultproperties
  28. {
  29.     KHalfAngle=8200 // about 45 deg
  30.     KStiffness=50
  31.  
  32.     Texture=S_KConeLimit
  33.     bDirectional=True
  34. }