trigger_tractorbeam

From Source Entities
Jump to navigation Jump to search
Info.png

This entity is not in the stock FGD files by default.
It should not be placed (in Hammer) because it wouldn't work correctly.

Code classes:

trigger_tractorbeam is a point entity present in P2.pngPortal 2. This entity is automatically created by projected_tractor_beam_entity and manages some parts of an excursion funnel's functionality.

Tip: This entity behaves much like a trigger_vphysics_motion. Use that instead.

Keyvalues[edit | edit source]

Gravity Scale (SetGravityScale) <float>
Multiplies the strength of gravity in the beam. Normal gravity is 1.
Additional Air Density (SetAdditionalAirDensity) <float>
No visible effect?
Velocity Limit (SetVelocityLimit) <float>
Sets how fast objects should be able to move when in the beam. This is normally set to half of prop_tractor_beam's Linear Force (linearForce).
Velocity Limit Delta (SetVelocityLimitDelta) <float>
Supposed to set how quickly objects decelerate toward the velocity limit, but it seems this is always instant with tractor beams.
Velocity Scale (SetVelocityScale) <float>
Scales the velocity of objects that enter the beam, in all directions. The velocity limit still applies. Normally 1.
Angular Velocity Limit (SetAngVelocityLimit) <float>
Sets the maximum speed objects may spin at. 0 gives default behavior.
Angular Velocity Scale (SetAngVelocityScale) <float>
Scales the spinning speed of objects that enter the beam. 0 gives default behavior (slowly spinning less and less).
Linear Force (SetLinearForce) <float>
Sets how strongly the beam pushes objects. Strangely, the number in the parameter is about half of the actual speed that objects will be pushed at. By default, this number will match prop_tractor_beam's Linear Force (linearForce).
Linear Force Angles (SetLinearForceAngles) <vector>
Supposed to set the direction of force, but doesn't. Tractor beams always push from one set of coordinates to another.

Inputs[edit | edit source]

SetVelocityLimitTime <string>
Unknown. Has visible effects on velocity. Seems to take two numbers. The first number is a maximum speed, and the second is apparently how long it takes to decelerate?
SetGravityScale <float>
Sets Gravity Scale.
SetAdditionalAirDensity <float>
Sets Additional Air Density.
SetVelocityLimit <float>
Sets Velocity Limit.
SetVelocityLimitDelta <float>
Sets Velocity Limit Delta.
SetVelocityScale <float>
Sets Velocity Scale.
SetAngVelocityLimit <float>
Sets Angular Velocity Limit.
SetAngVelocityScale <float>
Sets Angular Velocity Scale.
SetLinearForce <float>
Sets Linear Force.
SetLinearForceAngles <float>
Sets Linear Force Angles.