Revision Difference
Entity:SetAbsVelocity#514770
<function name="SetAbsVelocity" parent="Entity" type="classfunc">⤶
<description>⤶
Sets the entity's velocity.⤶
⤶
<note>Actually binds to CBaseEntity::SetLocalVelocity() which sets the entity's velocity due to movement in the world from forces such as gravity. Does not include velocity from entity-on-entity collision or other world movement.</note>⤶
</description>⤶
<realm>Shared</realm>⤶
<args>⤶
<arg name="velocity" type="Vector">The new velocity to set.</arg>⤶
</args>⤶
</function>⤶
⤶
<example>⤶
<description>Makes Entity(1) fly upwards.</description>⤶
<code>Entity( 1 ):SetAbsVelocity( Vector( 0, 0, 500 ) )</code>⤶
⤶
</example>