Jump to content

Cannot Rotate PlayerActor


photo

Recommended Posts

Hello,

 

Why is it that if I do something like:

 

 

//init
actor = new PlayerActor();

actor.setWorldTransform(rotateZ(-45));

//update

log.message(actor.getWorldRotation());

gives me:

4.776e-016 2.1857e-008 2.1855e-008 1

 

 

Or something like it. And, basically the actor is not getting rotated.

Link to comment
×
×
  • Create New...