object:getLocalAxisA()

Type Function
Object Joint
Library physics.*
Return value Numbers
Revision Current Public Release (2017.3135)
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()