Path vphysics: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (removed the _ at the bottom in diversity vent and added P2CE to the top.)
m (Added a note that path_vphysics is more resource intensive than using other methods)
 
Line 4: Line 4:
{{clarify|What does the keyvalue <code>dampening</code> do?}}
{{clarify|What does the keyvalue <code>dampening</code> do?}}
{{tip|<code>path_vphysics</code> is very simular to {{ent|path_track}}, meaning that you can shift-drag the paths to create a track.}}
{{tip|<code>path_vphysics</code> is very simular to {{ent|path_track}}, meaning that you can shift-drag the paths to create a track.}}
{{note|While using <code>path_vphysics</code> is very easy for Diversity Vent creation, it's more resource intensive. If the Diversity Vents cannot be interacted with, don't use <code>path_vphysics</code> and instead see {{ent|Vacuum Tube}}.}}


== Keyvalues ==
== Keyvalues ==

Latest revision as of 06:34, 5 November 2025

Stub

This article or section is a stub. You can help by expanding it.

path_vphysics Is a point entity in Portal 2: Community Edition Portal 2: Community Edition and Portal: Revolution Portal: Revolution. It pushes objects in its radius, at the speed defined.

Clarify: What does the keyvalue dampening do?
Tip.pngTip:path_vphysics is very simular to path_track, meaning that you can shift-drag the paths to create a track.
Note.pngNote:While using path_vphysics is very easy for Diversity Vent creation, it's more resource intensive. If the Diversity Vents cannot be interacted with, don't use path_vphysics and instead see Vacuum Tube.

Keyvalues

Next Target (target) <targetname>
The next path_vphysics in the path.
Speed (speed) <float>
The speed at which to move the objects.
Radius (radius) <float>
Radius of the triggers.
Damping (damping) <float>
How much to dampen the movement.
Filter (filtername) <filter>
Filter to apply to the spawned triggers.

Inputs

Enable
Enables the trigger
Disable
Disables the trigger
Toggle
Toggles the trigger

See also