On Wed, 25 Oct 2006 20:24:00 +0200
"Hugo H" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I get some problems with 3-dimensional navigation: I would like to control a
> character in a 3D space, and a camera following it. But I get some problems
> with the rotations and the collisions: If i turn my character on his back,
> the control via the keyboard changes: The left key turns it to the right and
> right one turns it to the left. In addition, if I want to turn after a
> collision, my character doesn't turn on itself but around an invisible point
> in the space.
> 
> How can I solve these problems ?
> ( I join my source file )

I think you should use the turn_x and turn_y methods instead of the rotate_x 
and rotate_y. Turn_* is similar to rotate_*, but the X, Y or Z axis is the axis 
of the object, and not his parent one.

Jiba

_______________________________________________
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user

Reply via email to