Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.23 KB

AddConstraint.obj.obj.vec3.constr.md

File metadata and controls

44 lines (26 loc) · 1.23 KB

AddConstraint(obj, obj, vec3, constr)

Creates a constraint (an invisible connection (rod) between 2 objects) between part and base.

void addConstraint(this obj base, obj part, vec3 pivot, out constr constraint)

Parameters

base

Type: obj

The object that will be glued on.

part

Type: obj

The object that will be glued on the base.

pivot

Type: vec3

The other end of the constraint rod.

constraint

Modifiers: out

Type: constr

The created constraint.

Related