Search in sources :

Example 11 with Vector3f

use of com.jme3.math.Vector3f in project jmonkeyengine by jMonkeyEngine.

the class PhysicsRigidBody method getLinearFactor.

public Vector3f getLinearFactor() {
    Vector3f vec = new Vector3f();
    getLinearFactor(objectId, vec);
    return vec;
}
Also used : Vector3f(com.jme3.math.Vector3f)

Example 12 with Vector3f

use of com.jme3.math.Vector3f in project jmonkeyengine by jMonkeyEngine.

the class VehicleWheel method getCollisionLocation.

/**
     * returns the location where the wheel collides with the ground (world space)
     */
public Vector3f getCollisionLocation() {
    Vector3f vec = new Vector3f();
    getCollisionLocation(wheelId, wheelIndex, vec);
    return vec;
}
Also used : Vector3f(com.jme3.math.Vector3f)

Example 13 with Vector3f

use of com.jme3.math.Vector3f in project jmonkeyengine by jMonkeyEngine.

the class VehicleWheel method getCollisionNormal.

/**
     * returns the normal where the wheel collides with the ground (world space)
     */
public Vector3f getCollisionNormal() {
    Vector3f vec = new Vector3f();
    getCollisionNormal(wheelId, wheelIndex, vec);
    return vec;
}
Also used : Vector3f(com.jme3.math.Vector3f)

Example 14 with Vector3f

use of com.jme3.math.Vector3f in project jmonkeyengine by jMonkeyEngine.

the class TranslationalLimitMotor method getAccumulatedImpulse.

public Vector3f getAccumulatedImpulse() {
    Vector3f vec = new Vector3f();
    getAccumulatedImpulse(motorId, vec);
    return vec;
}
Also used : Vector3f(com.jme3.math.Vector3f)

Example 15 with Vector3f

use of com.jme3.math.Vector3f in project jmonkeyengine by jMonkeyEngine.

the class TranslationalLimitMotor method getLowerLimit.

public Vector3f getLowerLimit() {
    Vector3f vec = new Vector3f();
    getLowerLimit(motorId, vec);
    return vec;
}
Also used : Vector3f(com.jme3.math.Vector3f)

Aggregations

Vector3f (com.jme3.math.Vector3f)536 Material (com.jme3.material.Material)126 Geometry (com.jme3.scene.Geometry)118 DirectionalLight (com.jme3.light.DirectionalLight)95 Quaternion (com.jme3.math.Quaternion)94 TempVars (com.jme3.util.TempVars)67 ColorRGBA (com.jme3.math.ColorRGBA)64 Node (com.jme3.scene.Node)63 Spatial (com.jme3.scene.Spatial)57 Box (com.jme3.scene.shape.Box)57 Sphere (com.jme3.scene.shape.Sphere)51 Texture (com.jme3.texture.Texture)41 KeyTrigger (com.jme3.input.controls.KeyTrigger)36 RigidBodyControl (com.jme3.bullet.control.RigidBodyControl)35 Vector2f (com.jme3.math.Vector2f)35 FilterPostProcessor (com.jme3.post.FilterPostProcessor)34 FloatBuffer (java.nio.FloatBuffer)34 InputCapsule (com.jme3.export.InputCapsule)33 BoundingBox (com.jme3.bounding.BoundingBox)30 AmbientLight (com.jme3.light.AmbientLight)30