Source2Toolkit
SchemaEntityClasses

CPhysForce

CPhysForce

Inheritance: CPointEntity

Fields

  • m_pController IPhysicsMotionController*
  • m_nameAttach CUtlSymbolLarge
  • m_force float
  • m_forceTime float
  • m_attachedObject CHandle<CBaseEntity>
  • m_wasRestored bool
  • m_integrator CConstantForceController

Methods

CPhysForce* New(className)

Parameters
  • className const char*

CPhysForce* FromIndex(iIndex)

Parameters
  • iIndex int

CPhysForce* FromIndex(index)

Parameters
  • index CEntityIndex

CHandle<CPhysForce> GetHandle()

On this page