thx, but both ways doen't works!

I want to create my player (human) as a physic box and disable his pan, tilt and roll. (so the player doesn't fall over)
And i cannot find a smooth way to set his angles to zero...

if i switch off physic to set his angles to zero, than it looks verc bad frown

i have found a Newton joint function "NewtonConstraintCreateUpVector", but i can't get it running...
the character passes into the floor frown

[EDIT] i get it laugh
just using vectorf( ... )!
don't know what "f" means^^

Does anyone know a working newton script?
I found a simple one in Newton-wiki, but i need a better smooth working script!


Last edited by kasimir; 12/24/08 10:41.