This article's documentation is for Source 2. Click here for more information.

User:CodingAintFun/pagetest00: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated to use "this is a" template)
(Replaced content with "{{this is a|engine=source2|name=env_cubemap_fog|game = Half-Life: Alyx|game1 = SteamVR Home|e0}}")
Tag: Replaced
Line 1: Line 1:
{{CD|CPhysMotor|file1=phys_controller.cpp}}
{{this is a|engine=source2|name=env_cubemap_fog|game = Half-Life: Alyx|game1 = SteamVR Home|e0}}
{{this is a|e0|name=phys_motor|engine=2}} It tries to spin a target entity at a particular speed.
 
== Keyvalues ==
{{KV|Rotation Speed|intn=speed|string|Angular speed (units are degrees/second)}}
{{KV|Spin up time|intn=spinup|string|spin up time in seconds (also affects the rate at which speed changes happen)}}
{{KV|System Interia Scale|intn=inertiafactor|float|Make this larger if the object being driven is constrained to a set of heavier objects.}}
{{KV|Rotation Axis|intn=axis|vecline|The point to the Origin of the entity whose line the rotation axis.}}
{{KV|Attached Object|intn=attach1|target_destination|Object to apply the force to}}
{{KV Targetname}}
 
== Flags ==
{{fl|1|Start On}}
{{fl|2|No world collision|Disable world collisions on hinges}}
{{fl|4|Hinge Object|Motor also acts as a hinge constraining the object to this axis}}
{{fl|8|Orient Locally|Maintain local relationship with the attached object ([[FGD]] comment: "NOT WORKING YET")}}
 
== Inputs ==
{{IO|SetSpeed|Sets target speed|param=float}}
{{IO|TurnOn|Turns motor on}}
{{IO|TurnOff|Turns motor off}}
 
[[Category:Forces]]

Revision as of 06:50, 31 December 2023

env_cubemap_fog is an e0 available in Half-Life: Alyx Half-Life: Alyx and SteamVR Home SteamVR Home.

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{source2}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to Source 2.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.