object:getLocalAxisA()

Type Function
Object Joint
Library physics.*
Return value Numbers
Revision 2017.3060
Keywords joint, getLocalAxisA
See also Physics Joints (guide)

Overview

This function returns the current coordinates of the anchor point along the defined axis, in content space.

For use with "piston" and "wheel" joints.

Syntax

joint:getLocalAxisA()

Example

local lax, lay = myJoint:getLocalAxisA()