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