CPhysForce
Jump to navigation
Jump to search
Code classes:
CPhysForce
CPointEntity
CBaseEntity
(all ents)
CPhysForce
is a code class shared by two entities that create physics forces.
Flags[edit | edit source]
- 1: Start On - Force starts on, but shuts off after its Time of Force.
Keyvalues[edit | edit source]
- Attached Object
(attach1)
<target_destination>
- Object to exert force on.
- Time of Force (0=inf)
(forcetime)
<float>
- Force will only apply for this many seconds. 0 means forever.
- Force/Angular Acceleration
(force)
<float>
- How much force to apply, in units/degrees per second per second.
Inputs[edit | edit source]
- Activate
- Activates the force.
- Deactivate
- Stops the force.
- Scale
<float>
- Sets Force/Angular Acceleration.