LastForce (Function): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 6: 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