HomeSort by relevance Sort by last modified time
    Searched refs:capsule (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/joints/
HingeJoint.java 142 OutputCapsule capsule = ex.getCapsule(this); local
143 capsule.write(axisA, "axisA", new Vector3f());
144 capsule.write(axisB, "axisB", new Vector3f());
146 capsule.write(angularOnly, "angularOnly", false);
148 capsule.write(getLowerLimit(), "lowerLimit", 1e30f);
149 capsule.write(getUpperLimit(), "upperLimit", -1e30f);
151 capsule.write(biasFactor, "biasFactor", 0.3f);
152 capsule.write(relaxationFactor, "relaxationFactor", 1f);
153 capsule.write(limitSoftness, "limitSoftness", 0.9f);
155 capsule.write(getEnableMotor(), "enableAngularMotor", false)
162 InputCapsule capsule = im.getCapsule(this); local
    [all...]
SliderJoint.java 421 OutputCapsule capsule = ex.getCapsule(this); local
423 capsule.write(getDampingDirAng(), "dampingDirAng", 0f);
424 capsule.write(getDampingDirLin(), "dampingDirLin", 0f);
425 capsule.write(getDampingLimAng(), "dampingLimAng", 0f);
426 capsule.write(getDampingLimLin(), "dampingLimLin", 0f);
427 capsule.write(getDampingOrthoAng(), "dampingOrthoAng", 0f);
428 capsule.write(getDampingOrthoLin(), "dampingOrthoLin", 0f);
429 capsule.write(getLowerAngLimit(), "lowerAngLimit", 0f);
430 capsule.write(getLowerLinLimit(), "lowerLinLimit", 0f);
431 capsule.write(getMaxAngMotorForce(), "maxAngMotorForce", 0f)
461 InputCapsule capsule = im.getCapsule(this); local
    [all...]
SixDofJoint.java 168 InputCapsule capsule = im.getCapsule(this); local
174 setAngularUpperLimit((Vector3f) capsule.readSavable("angularUpperLimit", new Vector3f(Vector3f.POSITIVE_INFINITY)));
175 setAngularLowerLimit((Vector3f) capsule.readSavable("angularLowerLimit", new Vector3f(Vector3f.NEGATIVE_INFINITY)));
176 setLinearUpperLimit((Vector3f) capsule.readSavable("linearUpperLimit", new Vector3f(Vector3f.POSITIVE_INFINITY)));
177 setLinearLowerLimit((Vector3f) capsule.readSavable("linearLowerLimit", new Vector3f(Vector3f.NEGATIVE_INFINITY)));
181 rotationalLimitMotor.setBounce(capsule.readFloat("rotMotor" + i + "_Bounce", 0.0f));
182 rotationalLimitMotor.setDamping(capsule.readFloat("rotMotor" + i + "_Damping", 1.0f));
183 rotationalLimitMotor.setERP(capsule.readFloat("rotMotor" + i + "_ERP", 0.5f));
184 rotationalLimitMotor.setHiLimit(capsule.readFloat("rotMotor" + i + "_HiLimit", Float.POSITIVE_INFINITY));
185 rotationalLimitMotor.setLimitSoftness(capsule.readFloat("rotMotor" + i + "_LimitSoftness", 0.5f))
203 OutputCapsule capsule = ex.getCapsule(this); local
    [all...]
PhysicsJoint.java 124 OutputCapsule capsule = ex.getCapsule(this); local
125 capsule.write(nodeA, "nodeA", null);
126 capsule.write(nodeB, "nodeB", null);
127 capsule.write(pivotA, "pivotA", null);
128 capsule.write(pivotB, "pivotB", null);
132 InputCapsule capsule = im.getCapsule(this); local
133 this.nodeA = ((PhysicsRigidBody) capsule.readSavable("nodeA", new PhysicsRigidBody()));
134 this.nodeB = (PhysicsRigidBody) capsule.readSavable("nodeB", new PhysicsRigidBody());
135 this.pivotA = (Vector3f) capsule.readSavable("pivotA", new Vector3f());
136 this.pivotB = (Vector3f) capsule.readSavable("pivotB", new Vector3f())
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/
HingeJoint.java 110 OutputCapsule capsule = ex.getCapsule(this); local
111 capsule.write(axisA, "axisA", new Vector3f());
112 capsule.write(axisB, "axisB", new Vector3f());
114 capsule.write(angularOnly, "angularOnly", false);
116 capsule.write(((HingeConstraint) constraint).getLowerLimit(), "lowerLimit", 1e30f);
117 capsule.write(((HingeConstraint) constraint).getUpperLimit(), "upperLimit", -1e30f);
119 capsule.write(biasFactor, "biasFactor", 0.3f);
120 capsule.write(relaxationFactor, "relaxationFactor", 1f);
121 capsule.write(limitSoftness, "limitSoftness", 0.9f);
123 capsule.write(((HingeConstraint) constraint).getEnableAngularMotor(), "enableAngularMotor", false)
130 InputCapsule capsule = im.getCapsule(this); local
    [all...]
SliderJoint.java 309 OutputCapsule capsule = ex.getCapsule(this); local
311 capsule.write(((SliderConstraint) constraint).getDampingDirAng(), "dampingDirAng", 0f);
312 capsule.write(((SliderConstraint) constraint).getDampingDirLin(), "dampingDirLin", 0f);
313 capsule.write(((SliderConstraint) constraint).getDampingLimAng(), "dampingLimAng", 0f);
314 capsule.write(((SliderConstraint) constraint).getDampingLimLin(), "dampingLimLin", 0f);
315 capsule.write(((SliderConstraint) constraint).getDampingOrthoAng(), "dampingOrthoAng", 0f);
316 capsule.write(((SliderConstraint) constraint).getDampingOrthoLin(), "dampingOrthoLin", 0f);
317 capsule.write(((SliderConstraint) constraint).getLowerAngLimit(), "lowerAngLimit", 0f);
318 capsule.write(((SliderConstraint) constraint).getLowerLinLimit(), "lowerLinLimit", 0f);
319 capsule.write(((SliderConstraint) constraint).getMaxAngMotorForce(), "maxAngMotorForce", 0f)
349 InputCapsule capsule = im.getCapsule(this); local
    [all...]
SixDofJoint.java 162 InputCapsule capsule = im.getCapsule(this); local
172 setAngularUpperLimit((Vector3f) capsule.readSavable("angularUpperLimit", new Vector3f(Vector3f.POSITIVE_INFINITY)));
173 setAngularLowerLimit((Vector3f) capsule.readSavable("angularLowerLimit", new Vector3f(Vector3f.NEGATIVE_INFINITY)));
174 setLinearUpperLimit((Vector3f) capsule.readSavable("linearUpperLimit", new Vector3f(Vector3f.POSITIVE_INFINITY)));
175 setLinearLowerLimit((Vector3f) capsule.readSavable("linearLowerLimit", new Vector3f(Vector3f.NEGATIVE_INFINITY)));
179 rotationalLimitMotor.setBounce(capsule.readFloat("rotMotor" + i + "_Bounce", 0.0f));
180 rotationalLimitMotor.setDamping(capsule.readFloat("rotMotor" + i + "_Damping", 1.0f));
181 rotationalLimitMotor.setERP(capsule.readFloat("rotMotor" + i + "_ERP", 0.5f));
182 rotationalLimitMotor.setHiLimit(capsule.readFloat("rotMotor" + i + "_HiLimit", Float.POSITIVE_INFINITY));
183 rotationalLimitMotor.setLimitSoftness(capsule.readFloat("rotMotor" + i + "_LimitSoftness", 0.5f))
201 OutputCapsule capsule = ex.getCapsule(this); local
    [all...]
PhysicsJoint.java 121 OutputCapsule capsule = ex.getCapsule(this); local
122 capsule.write(nodeA, "nodeA", null);
123 capsule.write(nodeB, "nodeB", null);
124 capsule.write(pivotA, "pivotA", null);
125 capsule.write(pivotB, "pivotB", null);
129 InputCapsule capsule = im.getCapsule(this); local
130 this.nodeA = ((PhysicsRigidBody) capsule.readSavable("nodeA", new PhysicsRigidBody()));
131 this.nodeB = (PhysicsRigidBody) capsule.readSavable("nodeB", new PhysicsRigidBody());
132 this.pivotA = (Vector3f) capsule.readSavable("pivotA", new Vector3f());
133 this.pivotB = (Vector3f) capsule.readSavable("pivotB", new Vector3f())
    [all...]
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/collision/shapes/infos/
ChildCollisionShape.java 34 OutputCapsule capsule = ex.getCapsule(this); local
35 capsule.write(location, "location", new Vector3f());
36 capsule.write(rotation, "rotation", new Matrix3f());
37 capsule.write(shape, "shape", new BoxCollisionShape(new Vector3f(1, 1, 1)));
41 InputCapsule capsule = im.getCapsule(this); local
42 location = (Vector3f) capsule.readSavable("location", new Vector3f());
43 rotation = (Matrix3f) capsule.readSavable("rotation", new Matrix3f());
44 shape = (CollisionShape) capsule.readSavable("shape", new BoxCollisionShape(new Vector3f(1, 1, 1)));
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
MeshCollisionShape.java 89 OutputCapsule capsule = ex.getCapsule(this); local
90 capsule.write(numVertices, "numVertices", 0);
91 capsule.write(numTriangles, "numTriangles", 0);
92 capsule.write(vertexStride, "vertexStride", 0);
93 capsule.write(triangleIndexStride, "triangleIndexStride", 0);
95 capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]);
96 capsule.write(vertexBase.array(), "vertexBase", new byte[0]);
101 InputCapsule capsule = im.getCapsule(this); local
102 numVertices = capsule.readInt("numVertices", 0);
103 numTriangles = capsule.readInt("numTriangles", 0)
    [all...]
HeightfieldCollisionShape.java 108 OutputCapsule capsule = ex.getCapsule(this); local
109 capsule.write(heightStickWidth, "heightStickWidth", 0);
110 capsule.write(heightStickLength, "heightStickLength", 0);
111 capsule.write(heightScale, "heightScale", 0);
112 capsule.write(minHeight, "minHeight", 0);
113 capsule.write(maxHeight, "maxHeight", 0);
114 capsule.write(upAxis, "upAxis", 1);
115 capsule.write(heightfieldData, "heightfieldData", new float[0]);
116 capsule.write(flipQuadEdges, "flipQuadEdges", false);
121 InputCapsule capsule = im.getCapsule(this) local
    [all...]
GImpactCollisionShape.java 91 OutputCapsule capsule = ex.getCapsule(this); local
92 capsule.write(worldScale, "worldScale", new Vector3f(1, 1, 1));
93 capsule.write(numVertices, "numVertices", 0);
94 capsule.write(numTriangles, "numTriangles", 0);
95 capsule.write(vertexStride, "vertexStride", 0);
96 capsule.write(triangleIndexStride, "triangleIndexStride", 0);
98 capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]);
99 capsule.write(vertexBase.array(), "vertexBase", new byte[0]);
104 InputCapsule capsule = im.getCapsule(this); local
105 worldScale = (Vector3f) capsule.readSavable("worldScale", new Vector3f(1, 1, 1))
    [all...]
CapsuleCollisionShape.java 45 * Basic capsule collision shape
57 * @param radius the radius of the capsule
58 * @param height the height of the capsule
69 * creates a capsule shape around the given axis (0=X,1=Y,2=Z)
95 OutputCapsule capsule = ex.getCapsule(this); local
96 capsule.write(radius, "radius", 0.5f);
97 capsule.write(height, "height", 1);
98 capsule.write(axis, "axis", 1);
103 InputCapsule capsule = im.getCapsule(this); local
104 radius = capsule.readFloat("radius", 0.5f)
    [all...]
ConeCollisionShape.java 51 OutputCapsule capsule = ex.getCapsule(this); local
52 capsule.write(radius, "radius", 0.5f);
53 capsule.write(height, "height", 0.5f);
54 capsule.write(axis, "axis", 0.5f);
59 InputCapsule capsule = im.getCapsule(this); local
60 radius = capsule.readFloat("radius", 0.5f);
61 radius = capsule.readFloat("height", 0.5f);
62 radius = capsule.readFloat("axis", 0.5f);
CollisionShape.java 101 OutputCapsule capsule = ex.getCapsule(this); local
102 capsule.write(scale, "scale", new Vector3f(1, 1, 1));
103 capsule.write(getMargin(), "margin", 0.0f);
107 InputCapsule capsule = im.getCapsule(this); local
108 this.scale = (Vector3f) capsule.readSavable("scale", new Vector3f(1, 1, 1));
109 this.margin = capsule.readFloat("margin", 0.0f);
SimplexCollisionShape.java 55 OutputCapsule capsule = ex.getCapsule(this); local
56 capsule.write(vector1, "simplexPoint1", null);
57 capsule.write(vector2, "simplexPoint2", null);
58 capsule.write(vector3, "simplexPoint3", null);
59 capsule.write(vector4, "simplexPoint4", null);
64 InputCapsule capsule = im.getCapsule(this); local
65 vector1 = (Vector3f) capsule.readSavable("simplexPoint1", null);
66 vector2 = (Vector3f) capsule.readSavable("simplexPoint2", null);
67 vector3 = (Vector3f) capsule.readSavable("simplexPoint3", null);
68 vector4 = (Vector3f) capsule.readSavable("simplexPoint4", null)
    [all...]
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
HeightfieldCollisionShape.java 121 OutputCapsule capsule = ex.getCapsule(this); local
122 capsule.write(heightStickWidth, "heightStickWidth", 0);
123 capsule.write(heightStickLength, "heightStickLength", 0);
124 capsule.write(heightScale, "heightScale", 0);
125 capsule.write(minHeight, "minHeight", 0);
126 capsule.write(maxHeight, "maxHeight", 0);
127 capsule.write(upAxis, "upAxis", 1);
128 capsule.write(heightfieldData, "heightfieldData", new float[0]);
129 capsule.write(flipQuadEdges, "flipQuadEdges", false);
134 InputCapsule capsule = im.getCapsule(this); local
    [all...]
CapsuleCollisionShape.java 43 * Basic capsule collision shape
55 * @param radius the radius of the capsule
56 * @param height the height of the capsule
66 * creates a capsule shape around the given axis (0=X,1=Y,2=Z)
92 OutputCapsule capsule = ex.getCapsule(this); local
93 capsule.write(radius, "radius", 0.5f);
94 capsule.write(height, "height", 1);
95 capsule.write(axis, "axis", 1);
100 InputCapsule capsule = im.getCapsule(this); local
101 radius = capsule.readFloat("radius", 0.5f)
    [all...]
ConeCollisionShape.java 49 OutputCapsule capsule = ex.getCapsule(this); local
50 capsule.write(radius, "radius", 0.5f);
51 capsule.write(height, "height", 0.5f);
52 capsule.write(axis, "axis", 0.5f);
57 InputCapsule capsule = im.getCapsule(this); local
58 radius = capsule.readFloat("radius", 0.5f);
59 radius = capsule.readFloat("height", 0.5f);
60 radius = capsule.readFloat("axis", 0.5f);
CollisionShape.java 111 OutputCapsule capsule = ex.getCapsule(this); local
112 capsule.write(scale, "scale", new Vector3f(1, 1, 1));
113 capsule.write(getMargin(), "margin", 0.0f);
117 InputCapsule capsule = im.getCapsule(this); local
118 this.scale = (Vector3f) capsule.readSavable("scale", new Vector3f(1, 1, 1));
119 this.margin = capsule.readFloat("margin", 0.0f);
CylinderCollisionShape.java 86 OutputCapsule capsule = ex.getCapsule(this); local
87 capsule.write(halfExtents, "halfExtents", new Vector3f(0.5f, 0.5f, 0.5f));
88 capsule.write(axis, "axis", 1);
93 InputCapsule capsule = im.getCapsule(this); local
94 halfExtents = (Vector3f) capsule.readSavable("halfExtents", new Vector3f(0.5f, 0.5f, 0.5f));
95 axis = capsule.readInt("axis", 1);
SimplexCollisionShape.java 55 OutputCapsule capsule = ex.getCapsule(this); local
56 capsule.write(vector1, "simplexPoint1", null);
57 capsule.write(vector2, "simplexPoint2", null);
58 capsule.write(vector3, "simplexPoint3", null);
59 capsule.write(vector4, "simplexPoint4", null);
64 InputCapsule capsule = im.getCapsule(this); local
65 vector1 = (Vector3f) capsule.readSavable("simplexPoint1", null);
66 vector2 = (Vector3f) capsule.readSavable("simplexPoint2", null);
67 vector3 = (Vector3f) capsule.readSavable("simplexPoint3", null);
68 vector4 = (Vector3f) capsule.readSavable("simplexPoint4", null)
    [all...]
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
VehicleWheel.java 365 InputCapsule capsule = im.getCapsule(this); local
366 wheelSpatial = (Spatial) capsule.readSavable("wheelSpatial", null);
367 frontWheel = capsule.readBoolean("frontWheel", false);
368 location = (Vector3f) capsule.readSavable("wheelLocation", new Vector3f());
369 direction = (Vector3f) capsule.readSavable("wheelDirection", new Vector3f());
370 axle = (Vector3f) capsule.readSavable("wheelAxle", new Vector3f());
371 suspensionStiffness = capsule.readFloat("suspensionStiffness", 20.0f);
372 wheelsDampingRelaxation = capsule.readFloat("wheelsDampingRelaxation", 2.3f);
373 wheelsDampingCompression = capsule.readFloat("wheelsDampingCompression", 4.4f);
374 frictionSlip = capsule.readFloat("frictionSlip", 10.5f)
384 OutputCapsule capsule = ex.getCapsule(this); local
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
VehicleWheel.java 345 InputCapsule capsule = im.getCapsule(this); local
346 wheelSpatial = (Spatial) capsule.readSavable("wheelSpatial", null);
347 frontWheel = capsule.readBoolean("frontWheel", false);
348 location = (Vector3f) capsule.readSavable("wheelLocation", new Vector3f());
349 direction = (Vector3f) capsule.readSavable("wheelDirection", new Vector3f());
350 axle = (Vector3f) capsule.readSavable("wheelAxle", new Vector3f());
351 suspensionStiffness = capsule.readFloat("suspensionStiffness", 20.0f);
352 wheelsDampingRelaxation = capsule.readFloat("wheelsDampingRelaxation", 2.3f);
353 wheelsDampingCompression = capsule.readFloat("wheelsDampingCompression", 4.4f);
354 frictionSlip = capsule.readFloat("frictionSlip", 10.5f)
364 OutputCapsule capsule = ex.getCapsule(this); local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Ring.java 205 OutputCapsule capsule = e.getCapsule(this); local
206 capsule.write(center, "center", Vector3f.ZERO);
207 capsule.write(up, "up", Vector3f.UNIT_Z);
208 capsule.write(innerRadius, "innerRadius", 0f);
209 capsule.write(outerRadius, "outerRadius", 1f);
213 InputCapsule capsule = e.getCapsule(this); local
214 center = (Vector3f) capsule.readSavable("center",
216 up = (Vector3f) capsule
218 innerRadius = capsule.readFloat("innerRadius", 0f);
219 outerRadius = capsule.readFloat("outerRadius", 1f);
    [all...]

Completed in 113 milliseconds

1 2 3 4