public void SetDefaults() { sourceJoint = null; usePositionConstraint = useOrientationConstraint = useLookAtConstraint = false; showPositionConstraint = showOrientationConstraint = showLookAtConstraint = false; positionConstraint.SetDefaults(); orientationConstraint.SetDefaults(); lookAtConstraint.SetDefaults(); }