SwiftlyS2

CPhysHinge

CPhysHinge

Inherited from CPhysConstraint

Fields

EntityKeyValues NameField NameField Type
hingefrictionm_hingeFrictionFIELD_FLOAT32
min_rotationm_flMinRotationFIELD_FLOAT32
max_rotationm_flMaxRotationFIELD_FLOAT32
initial_rotationm_flInitialRotationFIELD_FLOAT32
systemloadscalem_systemLoadScaleFIELD_FLOAT32
motorfrequencym_flMotorFrequencyFIELD_FLOAT32
motordampingratiom_flMotorDampingRatioFIELD_FLOAT32
AngleSpeedThresholdm_flAngleSpeedThresholdFIELD_FLOAT32

Input

Input NameField Type
SetMotorTargetAngleFIELD_FLOAT32
SetAngularVelocityFIELD_FLOAT32
SetHingeFrictionFIELD_FLOAT32
SetMinLimitFIELD_FLOAT32
SetMaxLimitFIELD_FLOAT32

Output

Output NameField Type
NotifyMinLimitReachedFIELD_CUSTOM
NotifyMaxLimitReachedFIELD_CUSTOM
OnStartMovingFIELD_CUSTOM
OnStopMovingFIELD_CUSTOM

Functions

Function Name
CPhysHingeSoundThink
CPhysHingeLimitThink
CPhysHingeMoveThink

On this page