19.6.2 offset

ovec = physics.CircleShape:offset()

Parameter

Type

Description

self

in physics.CircleShape

The input CircleShape

ovec

out physics.Vect

The offset of the shape from the Body

Returns the offset vector of the shape from the body’s center of gravity.

Introduced in platform.apiLevel = '2.0'