Source2Toolkit
SchemaEntityClasses

CPhysConstraint

CPhysConstraint

Inheritance: CLogicalEntity

Fields

  • m_hJoint IPhysicsJoint*
  • m_nameAttach1 CUtlSymbolLarge
  • m_nameAttach2 CUtlSymbolLarge
  • m_hAttach1 CHandle<CBaseEntity>
  • m_hAttach2 CHandle<CBaseEntity>
  • m_nameAttachment1 CUtlSymbolLarge
  • m_nameAttachment2 CUtlSymbolLarge
  • m_breakSound CGameSoundEventName
  • m_forceLimit float
  • m_torqueLimit float
  • m_minTeleportDistance float
  • m_bSnapObjectPositions bool
  • m_bTreatEntity1AsInfiniteMass bool
  • m_OnBreak CEntityIOOutput

Methods

CPhysConstraint* New(className)

Parameters
  • className const char*

CPhysConstraint* FromIndex(iIndex)

Parameters
  • iIndex int

CPhysConstraint* FromIndex(index)

Parameters
  • index CEntityIndex

CHandle<CPhysConstraint> GetHandle()

On this page