Codota Logo
Joint.getLocalRotation
Code IndexAdd Codota to your IDE (free)

How to use
getLocalRotation
method
in
com.jme3.anim.Joint

Best Java code snippets using com.jme3.anim.Joint.getLocalRotation (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: jMonkeyEngine/jmonkeyengine

public static void padJointTracks(List<TransformTrack> tracks, Joint staticJoint) {
  Joint j = staticJoint;
  if (j != null) {
    // joint has no track , we create one with the default pose
    float[] times = new float[]{0};
    Vector3f[] translations = new Vector3f[]{j.getLocalTranslation()};
    Quaternion[] rotations = new Quaternion[]{j.getLocalRotation()};
    Vector3f[] scales = new Vector3f[]{j.getLocalScale()};
    TransformTrack track = new TransformTrack(j, times, translations, rotations, scales);
    tracks.add(track);
  }
}
origin: jMonkeyEngine/jmonkeyengine

rotations.add(joint.getLocalRotation().mult(rotation, rotation));
if (scale != null) {
  scales.add(scale.multLocal(joint.getLocalScale()));
origin: jMonkeyEngine/jmonkeyengine

System.err.println("-----------------------");
System.err.println("Local translation: " + selectedjoint.getLocalTranslation());
System.err.println("Local rotation: " + selectedjoint.getLocalRotation());
System.err.println("Local scale: " + selectedjoint.getLocalScale());
System.err.println("---");
origin: jMonkeyEngine/jmonkeyengine

Quaternion[] rotations = new Quaternion[]{joint.getLocalRotation()};
Vector3f[] scales = new Vector3f[]{joint.getLocalScale()};
TransformTrack track = new TransformTrack(joint, times, translations, rotations, scales);
com.jme3.animJointgetLocalRotation

Popular methods of Joint

  • <init>
  • addChild
  • getLocalScale
  • getLocalTranslation
  • getName
  • setLocalTransform
  • setLocalTranslation
  • applyBindPose
    Sets the local transform with the bind transforms
  • applyInitialPose
    Sets the local transform with the initial transform
  • getAttachmentsNode
    Access the attachments node of this joint. If this joint doesn't already have an attachments node, c
  • getChildren
  • getId
  • getChildren,
  • getId,
  • getInverseModelBindMatrix,
  • getJointModelTransform,
  • getLocalTransform,
  • getModelTransform,
  • getOffsetTransform,
  • getParent,
  • saveBindPose

Popular in Java

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • requestLocationUpdates (LocationManager)
  • setContentView (Activity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now