Hi, i'm trying to realise AR in pd.
The problem: I can translate and rotate the cube only on 1 plans, if I try to rotate the marker toward another axis (or plan) the cube don't follow my movement.

How can I do to make all movements in 3d space?

I posted the patch and an image to explain clearly my problem.

Thx to everyone