phys_ragdollconstraint
Jump to navigation
Jump to search
Code classes:
CRagdollConstraint
CPhysConstraint
CLogicalEntity
CServerOnlyEntity
CBaseEntity
(all ents)
phys_ragdollconstraint
is a point entity present in all Source games. It makes two objects rotate around the entity's origin, but otherwise move as they normally would. The extents to which the objects rotate can also be set.
Flags[edit | edit source]
Bug: For some reason, only the first two flags appear in Hammer.
- 1: No Collision until break - The two constrained entities will not collide with each other while this constraint is active.
- 2:
Only limit rotation (free movement)- No effect?
Keyvalues[edit | edit source]
- X axis min limit
(xmin)
<float>
- Minimum extent that the objects can rotate on the X axis. -180 min and 180 max = no constraint on this axis.
- Y axis min limit
(ymin)
<float>
- Minimum extent that the objects can rotate on the Y axis. -180 min and 180 max = no constraint on this axis.
- Z axis min limit
(zmin)
<float>
- Minimum extent that the objects can rotate on the Z axis. -180 min and 180 max = no constraint on this axis.
- X axis max limit
(xmax)
<float>
- Maximum extent that the objects can rotate on the X axis.
- Y axis max limit
(ymax)
<float>
- Maximum extent that the objects can rotate on the Y axis.
- Z axis max limit
(zmax)
<float>
- Maximum extent that the objects can rotate on the Z axis.
- X axis friction
(xfriction)
<float>
- Friction to apply when moving on the X axis.
- Y axis friction
(yfriction)
<float>
- Friction to apply when moving on the Y axis.
- Z axis friction
(zfriction)
<float>
- Friction to apply when moving on the Z axis.