Here is a better example to understand : http://pastebin.com/m997b154

Im trying to do that on a cube which made with 6 planes, you'll better
understand my problem looking at this example .

Thanks again

Ghislain

On 29 déc, 17:15, Ghislain Flandin <[email protected]> wrote:
> Hello and Merry Christmas !!!
>
> I have a problem with cube rotation end i'dlike to explain it but it's
> quite hard.
>
> I have a cube on screen and i d like, pressing keyboard arrows, to
> rotate this one.
>
> i put my cube in a container3D and i thought that just rotating on X
> and Y axis my container , it would work but
>
> It works only one time, then axis are changed.
>
> So, using pitch and yaw, it 's not working either ...
>
> Maybe someone could help me or ask me for more explanation !!!
>
> You can find an example here :http://pastebin.com/m1e919210use
> keyboard arrows to rotate !!
>
> Thanks a lot dor your help !!!
>
> Ghislain

Reply via email to