(target: GameObj, opt: DistanceConstraintOpt): DistanceConstraintComp A distance constraint
param target- The object to keep within distance off
param opt- Options
returns DistanceConstraintComp
(target: GameObj, opt: TranslationConstraintOpt): TranslationConstraintComp A translation constraint
param target- The object to copy the translation from
param opt- Options
returns TranslationConstraintComp
(target: GameObj, opt: RotationConstraintOpt): RotationConstraintComp A rotation constraint
param target- The object to copy the rotation from
param opt- Options
returns RotationConstraintComp
(target: GameObj, opt: ScaleConstraintOpt): ScaleConstraintComp A scale constraint
param target- The object to copy the scale from
param opt- Options
returns ScaleConstraintComp