object:getLocalAxisA()

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