Walking on a terrain

Posted By: JulienT

Walking on a terrain - 06/06/10 21:39

Hello,

I set my physical parameters like this:

ph_setgravity(vector(0,0,-386));

phent_settype(player, PH_RIGID, PH_BOX);
phent_setmass(player, 40, PH_BOX);
phent_setfriction(player, 50);

I use c_move to move my player but the values seem not good...

My character is moving like a guy lost in a space ice rink!

Those my values are wrong?

Thank you
Posted By: Rasch

Re: Walking on a terrain - 06/06/10 21:47

As far as i know you cant use physics with c_move. YOu need to give your physic objects some forces to move.
Posted By: JulienT

Re: Walking on a terrain - 06/06/10 22:18

tahnk you laugh
© 2023 lite-C Forums