Phys slideconstraint
Jump to navigation
Jump to search
Template:Wrongtitle Template:Base point
Entity Description
A constraint that constrains an entity along a line segment.
Keyvalues
- Template:Kv TwoObjectPhysics
- slideaxis
- <vecline> Can be set with the Hammer helper tool.
- slidefriction
- <float> Resistance/friction in the constraint
- SystemLoadScale
- <float> Scale of the mass load connected to this constraint (1=just the objects directly connected)
Flags
- No Collision until break : [1]
- Start inactive : [4]
- Change mass to keep stable attachment to world : [8]
- Do not connect entities until turned on : [16]
- 2 : Limit Endpoints
- Template:Fl TwoObjectPhysics2
Inputs
- TwoObjectPhysics:
- Break
- Force the constraint to break.
- TurnOn
- Enable the constraint; do this if the constrained objects don't exist when it spawns. Note that broken constraints cannot be turned back on as they have been deleted.
- TurnOff
- Disable the constraint.
- SetVelocity <float>
- Set linear velocity along the constraint
Outputs
- Template:O targetname
- TwoObjectPhysics:
- OnBreak
- Fired when the constraint breaks.