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

19.9.17 removeConstraint

self = physics.Space:removeConstraint(constraint)

Parameter

Type

Description

self

in physics.Space

The input simulation Space

constraint

in physics.Constraint

A Constraint to remove from the simulation Space

self

out physics.Space

The input Space is returned as the output

Removes a Constraint from the Space. Returns self.

Introduced in platform.apiLevel = '2.0'