Hey, I’m encountering a trouble with the update method applied to setLocalRotation method. Here is my code:
[java] public void update(float tpf){
platformNode.setLocalRotation(zR);
platformNode.setLocalRotation(xR);
}
[/java]
The problem comes from the fact that only the first rotation is applied… why that ?
Because you set it :roll:
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:math_for_dummies
Actually i solved the problem by multiplying the two matrices. But thx anyway…