Lines Matching refs:control

5 package com.jme3.bullet.control;
22 import com.jme3.scene.control.Control;
85 VehicleControl control = new VehicleControl(collisionShape, mass);
86 control.setAngularFactor(getAngularFactor());
87 control.setAngularSleepingThreshold(getAngularSleepingThreshold());
88 control.setAngularVelocity(getAngularVelocity());
89 control.setCcdMotionThreshold(getCcdMotionThreshold());
90 control.setCcdSweptSphereRadius(getCcdSweptSphereRadius());
91 control.setCollideWithGroups(getCollideWithGroups());
92 control.setCollisionGroup(getCollisionGroup());
93 control.setDamping(getLinearDamping(), getAngularDamping());
94 control.setFriction(getFriction());
95 control.setGravity(getGravity());
96 control.setKinematic(isKinematic());
97 control.setLinearSleepingThreshold(getLinearSleepingThreshold());
98 control.setLinearVelocity(getLinearVelocity());
99 control.setPhysicsLocation(getPhysicsLocation());
100 control.setPhysicsRotation(getPhysicsRotationMatrix());
101 control.setRestitution(getRestitution());
103 control.setFrictionSlip(getFrictionSlip());
104 control.setMaxSuspensionTravelCm(getMaxSuspensionTravelCm());
105 control.setSuspensionStiffness(getSuspensionStiffness());
106 control.setSuspensionCompression(tuning.suspensionCompression);
107 control.setSuspensionDamping(tuning.suspensionDamping);
108 control.setMaxSuspensionForce(getMaxSuspensionForce());
112 VehicleWheel newWheel = control.addWheel(wheel.getLocation(), wheel.getDirection(), wheel.getAxle(), wheel.getRestLength(), wheel.getRadius(), wheel.isFrontWheel());
129 control.setApplyPhysicsLocal(isApplyPhysicsLocal());
131 control.setSpatial(spatial);
132 return control;