CLuaLocomotion/GetAcceleration

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
|Name=GetAcceleration
 
|Name=GetAcceleration
 
|Parent=Locomotion
 
|Parent=Locomotion
|Description=Returns the current acceleration as a vector
+
|Description=Gets the acceleration
 
|Realm=
 
|Realm=
 
|IsClass=Yes
 
|IsClass=Yes
 
|File_Name=src/garrysmod/Objects/lua_locomotion.cpp
 
|File_Name=src/garrysmod/Objects/lua_locomotion.cpp
|File_Line=126
+
|File_Line=184
 
}}
 
}}
 
{{Ret
 
{{Ret
|type=Vector
+
|type=number
|desc=velocity
+
|desc=speed
 
}}
 
}}

Revision as of 13:07, 28 March 2013

CLuaLocomotion:GetAcceleration( )

Description

Gets the acceleration

Returns

number

speed
Personal tools
Navigation