Skip to content

CPhysObj@

Physics/Ragdoll object.

Methods

  • bool DoRagdollBoogie(float flMagnitude, float flStartTime, float flLengthTime = 0.0f, int nSpawnFlags = 0) --
  • CBaseEntity@ GetEntity() -- Gets the owner entity of this physics object.
  • void EnableMotion(bool enable) --
  • void EnableCollisions(bool enable) --
  • void EnableDrag(bool enable) --
  • void EnableGravity(bool enable) --
  • void SetVelocity(Vector velocity, AngularImpulse angularVelocity) --
  • void SetVelocityInstant(Vector velocity, AngularImpulse angularVelocity) --
  • void AddVelocity(Vector velocity, AngularImpulse angularVelocity) --
  • void SetInertia(Vector inertia) --
  • void SetMass(float mass) --
  • Vector GetInertia() --
  • float GetMass() --
  • void GetPosition(Vector worldPosition, QAngle angles) --
  • void GetVelocity(Vector velocity, AngularImpulse angularVelocity) --
  • bool IsAsleep() --
  • bool IsCollisionEnabled() --
  • bool IsDragEnabled() --
  • bool IsFluid() --
  • bool IsGravityEnabled() --
  • bool IsHinged() --
  • bool IsMotionEnabled() --
  • bool IsMoveable() --
  • bool IsStatic() --
  • bool IsTrigger() --
  • void Sleep() --
  • void Wake() --