You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Physics Library > a

19.8.2 a

avec = physics.SegmentShape:a()

Parameter

Type

Description

self

in physics.SegmentShape

The input SegmentShape

avec

out physics.Vect

The first end point of the segment

Returns the a vector defining one of the end points of the segment.

Introduced in platform.apiLevel = '2.0'