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 (Grant, AndrewAMD), 911 guests, and 9 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 down the hill #337156
08/09/10 05:54
08/09/10 05:54
Joined: Jun 2010
Posts: 17
fanatic Offline OP
Newbie
fanatic  Offline OP
Newbie

Joined: Jun 2010
Posts: 17
is it possible to make my character walk down to the hill?

Re: walking down the hill [Re: fanatic] #337159
08/09/10 06:20
08/09/10 06:20
Joined: Jul 2010
Posts: 127
Germany, Herford
Ditje Offline
Member
Ditje  Offline
Member

Joined: Jul 2010
Posts: 127
Germany, Herford
Of course laugh Try tutorial lite-c workshop 24 first. There is a lesson, how to put player to lowest vertex of the terrain.

Ditje

Re: walking down the hill [Re: Ditje] #337160
08/09/10 06:32
08/09/10 06:32
Joined: Jun 2010
Posts: 17
fanatic Offline OP
Newbie
fanatic  Offline OP
Newbie

Joined: Jun 2010
Posts: 17
thanx for the response dude., :))

i hope my soldier won't float again., ^_^

Re: walking down the hill [Re: fanatic] #337161
08/09/10 06:51
08/09/10 06:51
Joined: Jul 2010
Posts: 127
Germany, Herford
Ditje Offline
Member
Ditje  Offline
Member

Joined: Jul 2010
Posts: 127
Germany, Herford
I still have workshop 24 opened. This are the 2 important lines of the code:

Code:
c_trace(my.x,vector(my.x,my.y,my.z-1000),IGNORE_ME | IGNORE_PASSABLE);
my.z = hit.z - vFeet.z; // always place player's feet on the ground



and you have to set your boundingbox to the feet. It`s described in the tutorial.

Ditje

Re: walking down the hill [Re: Ditje] #337178
08/09/10 10:18
08/09/10 10:18
Joined: Jun 2010
Posts: 17
fanatic Offline OP
Newbie
fanatic  Offline OP
Newbie

Joined: Jun 2010
Posts: 17
maybe i have to download that workshop first.,
^_^

tnx


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