CLuaLocomotion/GetGroundMotionVector

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=GetGroundMotionVector |Parent=Locomotion |Description=Return unit vector in XY plane describing our direction of motion - even if we are currently not moving ...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Func
 
{{Func
 
|Name=GetGroundMotionVector
 
|Name=GetGroundMotionVector
|Parent=Locomotion
+
|Parent=CLuaLocomotion
 
|Description=Return unit vector in XY plane describing our direction of motion - even if we are currently not moving
 
|Description=Return unit vector in XY plane describing our direction of motion - even if we are currently not moving
|Realm=
+
|Realm=Server
 
|IsClass=Yes
 
|IsClass=Yes
|File_Name=src/garrysmod/Objects/lua_locomotion.cpp
 
|File_Line=325
 
 
}}
 
}}
 
{{Ret
 
{{Ret

Latest revision as of 21:07, 29 June 2014

 CLuaLocomotion:GetGroundMotionVector( )

Description

Return unit vector in XY plane describing our direction of motion - even if we are currently not moving

Returns

Vector

A vector representing the X and Y movement
Personal tools
Navigation