public void update(long deltaMs) {
        GameActor a = Application.get().getLogic().getActor(actor);
        if(a != null) {
            PhysicsComponent pc = (PhysicsComponent)a.getComponent("PhysicsComponent");
            x = pc.getX();
            y = pc.getY();
            z = pc.getZ();
            setRotation(pc.getAngleRad());
        }
        if(animation != null) {
            animation.update(deltaMs);
        }
    }