public FSGearJoint setOtherJoint( FSJoint otherJoint ) { if( _otherJoint != null ) _otherJoint._attachedJoint = null; _otherJoint = otherJoint; if( _otherJoint != null ) _otherJoint._attachedJoint = this; recreateJoint(); return this; }
public FSGearJoint SetOtherJoint(FSJoint otherJoint) { if (_otherJoint != null) { _otherJoint._attachedJoint = null; } _otherJoint = otherJoint; if (_otherJoint != null) { _otherJoint._attachedJoint = this; } RecreateJoint(); return(this); }
public FSGearJoint setOwnerJoint(FSJoint ownerJoint) { if (_ownerJoint != null) { _ownerJoint._attachedJoint = null; } _ownerJoint = ownerJoint; if (_ownerJoint != null) { _ownerJoint._attachedJoint = this; } recreateJoint(); return(this); }