LastForce (Function): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
(created the page)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{CatUp|Functions}}
{{CatUp|Functions}}
'''This works identically to [[GetLastForce (Function)|GetLastForce]].'''
<onlyinclude>{{Function|
<onlyinclude>{{Function|
name                  = lastForce
name                  = lastForce
Line 5: Line 6:
|returns              = [[Vector3]] ''last force''
|returns              = [[Vector3]] ''last force''
|description          = Returns the last force in the object.
|description          = Returns the last force in the object.
|object              = [[GBX.lua.BodyPosition (Object)|BodyPosition]]
|object              = [[GBX.lua.BodyPosition (Object)|BodyPosition]], [[GBX.lua.BodyVelocity (Object)|BodyVelocity]]
}}</onlyinclude>
}}</onlyinclude>


[[Category:Functions]]
[[Category:Functions]]

Latest revision as of 03:31, 24 September 2021

This works identically to GetLastForce.

Function
Syntax lastForce( )
Returns Vector3 last force
Description: Returns the last force in the object.
In Object: BodyPosition, BodyVelocity