/** * Create a shallow clone for the JME cloner. * * @return a new control (not null) */ @Override public Object jmeClone() { KinematicRagdollControl control = new KinematicRagdollControl(preset, weightThreshold); control.setMode(mode); control.setRootMass(rootMass); control.setWeightThreshold(weightThreshold); control.setApplyPhysicsLocal(applyLocal); control.spatial = this.spatial; return control; }
/** * Create a shallow clone for the JME cloner. * * @return a new control (not null) */ @Override public Object jmeClone() { KinematicRagdollControl control = new KinematicRagdollControl(preset, weightThreshold); control.setMode(mode); control.setRootMass(rootMass); control.setWeightThreshold(weightThreshold); control.setApplyPhysicsLocal(applyLocal); control.spatial = this.spatial; return control; }
@Override public Control cloneForSpatial(Spatial spatial) { KinematicRagdollControl control = new KinematicRagdollControl(preset, weightThreshold); control.setMode(mode); control.setRootMass(rootMass); control.setWeightThreshold(weightThreshold); control.setApplyPhysicsLocal(applyLocal); return control; }
@Override public Object jmeClone() { KinematicRagdollControl control = new KinematicRagdollControl(preset, weightThreshold); control.setMode(mode); control.setRootMass(rootMass); control.setWeightThreshold(weightThreshold); control.setApplyPhysicsLocal(applyLocal); control.spatial = this.spatial; return control; }
@Override public Object jmeClone() { KinematicRagdollControl control = new KinematicRagdollControl(preset, weightThreshold); control.setMode(mode); control.setRootMass(rootMass); control.setWeightThreshold(weightThreshold); control.setApplyPhysicsLocal(applyLocal); control.spatial = this.spatial; return control; }
/** * Create a shallow clone for the JME cloner. * * @return a new control (not null) */ @Override public Control cloneForSpatial(Spatial spatial) { KinematicRagdollControl control = new KinematicRagdollControl(preset, weightThreshold); control.setMode(mode); control.setRootMass(rootMass); control.setWeightThreshold(weightThreshold); control.setApplyPhysicsLocal(applyLocal); return control; }