40 virtual void SpawnKey(
string,
string);
43 virtual void Save(
float);
44 virtual void Restore(
string,
string);
45 virtual void Input(entity,
string,
string);
48 virtual void Spawned(
void);
49 virtual void OnRemoveEntity(
void);
52 nonvirtual
void WakeTargets(
void);
55 nonvirtual
void Break(entity);
60 nonvirtual entity GetEntity1(
void);
62 nonvirtual entity GetEntity2(
void);
67 nonvirtual
void SetEntity1(entity);
69 nonvirtual
void SetEntity2(entity);
74 nonvirtual
void SetSliderVelocity(
float);
76 nonvirtual
void SetSliderMaxVelocity(
float);
78 nonvirtual
void SetSliderStop(
float);
80 nonvirtual
void SetSliderFriction(
float);
83 nonvirtual
float GetSliderVelocity(
void);
85 nonvirtual
float GetSliderMaxVelocity(
void);
87 nonvirtual
float GetSliderStop(
void);
89 nonvirtual
float GetSliderFriction(
void);
91 nonvirtual
float GetConstraintSystemID(
void);
102 nonvirtual
void ConstraintThink(
void);
106 float m_flTorqueLimit;
107 float m_flForceLimit;
110 string m_strBreakSound;
112 string m_strConstraintSystem;
constraint_t
Definition: NSPhysicsConstraint.h:17
@ CONSTRAINT_HINGE
Hinge joint constraint.
Definition: NSPhysicsConstraint.h:21
@ CONSTRAINT_INVALID
Nothing.
Definition: NSPhysicsConstraint.h:19
@ CONSTRAINT_HINGE2
Hinge 2.
Definition: NSPhysicsConstraint.h:24
@ CONSTRAINT_SLIDER
Slider setup.
Definition: NSPhysicsConstraint.h:22
@ CONSTRAINT_POINT
Point constraint, aka ballsocket or ball constraint, like phys_ballsocket.
Definition: NSPhysicsConstraint.h:20
@ CONSTRAINT_FIXED
Fixed constraint, aka weld, aka phys_constraint.
Definition: NSPhysicsConstraint.h:18
@ CONSTRAINT_UNIVERSAL
Universal? TBA.
Definition: NSPhysicsConstraint.h:23
NSEntity is the lowest of the user-accessible entity class.
Definition: NSEntity.h:54
This entity class represents constraints for physically-simulated entities.
Definition: NSPhysicsConstraint.h:36