CPhysObj@

Physics pointer of an entity.

Methods

  • CBaseEntity@ GetEntity()
  • void Sleep()
  • void Wake()
  • void GetPosition(Vector worldPosition, QAngle angles)
  • void EnableMotion(bool enable)
  • void EnableCollisions(bool enable)
  • void EnableDrag(bool enable)
  • void EnableGravity(bool enable)

Velocity

  • void GetVelocity(Vector velocity, AngularImpulse angularVelocity)
  • void SetVelocity(Vector velocity, AngularImpulse angularVelocity)
  • void SetVelocityInstant(Vector velocity, AngularImpulse angularVelocity)
  • void AddVelocity(Vector velocity, AngularImpulse angularVelocity)

Inertia, Mass

  • void SetInertia(Vector inertia)
  • void SetMass(double mass)
  • Vector GetInertia()
  • double GetMass()

State

  • bool IsAsleep()
  • bool IsCollisionEnabled()
  • bool IsDragEnabled()
  • bool IsFluid()
  • bool IsGravityEnabled()
  • bool IsHinged()
  • bool IsMotionEnabled()
  • bool IsMoveable()
  • bool IsStatic()
  • bool IsTrigger()