Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
2 registered members (Quad, AndrewAMD), 1,007 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Walking on a terrain #327523
06/06/10 21:39
06/06/10 21:39
Joined: Jun 2010
Posts: 5
J
JulienT Offline OP
Newbie
JulienT  Offline OP
Newbie
J

Joined: Jun 2010
Posts: 5
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

Re: Walking on a terrain [Re: JulienT] #327525
06/06/10 21:47
06/06/10 21:47
Joined: Jun 2008
Posts: 428
Rasch Offline
Senior Member
Rasch  Offline
Senior Member

Joined: Jun 2008
Posts: 428
As far as i know you cant use physics with c_move. YOu need to give your physic objects some forces to move.

Re: Walking on a terrain [Re: Rasch] #327526
06/06/10 22:18
06/06/10 22:18
Joined: Jun 2010
Posts: 5
J
JulienT Offline OP
Newbie
JulienT  Offline OP
Newbie
J

Joined: Jun 2010
Posts: 5
tahnk you laugh


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1