info_constraint_anchor
Jump to navigation
Jump to search
Code classes:
CConstraintAnchor
CPointEntity
CBaseEntity
(all ents)
info_constraint_anchor
is a point entity present in all Source games. It is used to tell CPhysConstraint
s where to attach themselves relative to the objects being constrained (typically they attach at the center of mass). Set this entity as Entity 1 in the constraint, then parent this entity to Entity 2.
Bug: The SetParentAttachment input doesn't work on this entity.
Keyvalues[edit | edit source]
- Amount to scale the mass of this body in the constraint solver
(massScale)
<float>
- Multiplier for the constrained object's mass. 1 = no change.