Phys thruster

From Valve Developer Community
Revision as of 08:07, 4 October 2005 by Maven (talk | contribs) (cleanup tag)
Jump to navigation Jump to search
Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

phys_thruster

An entity used to apply constant acceleration to a physics object. The force and torque is calculated using the position and direction of the thruster as an impulse. So moving those off the object's center will cause torque as well. Torque can be removed by unchecking the 'apply torque' flag. The position of the thruster can be forced to be at the object's center by checking to 'ignore pos' flag.

KEYS

Pitch Yaw Roll (Y Z X) angles <angle> This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Name targetname <target_source> The name that other entities refer to this entity by.

spawnflags spawnflags <flags>

Attached Object attach1 <target_destination> Object to apply the force to.

Time of Force (0=inf) forcetime <string> Automatic shut-off after this time has passed (0 = stay on forever or until deactivated)

Force force <string> Force (will be integrated, units are force kg*in/s^2)


INPUTS

Kill Removes this entity from the world.

KillHierarchy Removes this entity and all its children from the world.

AddOutput <string> Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.

FireUser1 Causes this entity's OnUser1 output to be fired.

FireUser2 Causes this entity's OnUser2 output to be fired.

FireUser3 Causes this entity's OnUser3 output to be fired.

FireUser4 Causes this entity's OnUser4 output to be fired.

Activate Turn the force on

Deactivate Turn the force off

Scale <string> Set Force Scale


OUTPUTS

OnUser1 Fired in response to FireUser1 input.

OnUser2 Fired in response to FireUser2 input.

OnUser3 Fired in response to FireUser3 input.

OnUser4 Fired in response to FireUser4 input.