19.9.3 addConstraint

self = physics.Space:addConstraint(constraint)

Parameter

Type

Description

self

in physics.Space

The input simulation Space

constraint

in physics.Constraint

Adds a Constraint to the simulation Space

self

out physics.Space

The input Space is returned as the output

Adds a Constraint to the Space. Returns self.

Introduced in platform.apiLevel = '2.0'