5 registered members (AndrewAMD, alibaba, Konsti, 2 invisible),
1,418
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
How to get entity to move up and down on path?
#131858
05/25/07 09:13
05/25/07 09:13
|
Joined: Nov 2005
Posts: 14 calif
growthweb
OP
Newbie
|
OP
Newbie
Joined: Nov 2005
Posts: 14
calif
|
Hi, Sorry for this dumb question but it has me stumped. I know how to create a path and using the actors.wdl patrol path function my entity walks the path. However, when I raise and lower the hight of my path in different areas my entity does not raise or lower with the path. I know this is so simple but I just dont know how to get movement on paths to follow up and down. Like my entity to actual stick to the path. Thanks for any help.
Last edited by growthweb; 05/25/07 09:23.
|
|
|
Re: How to get entity to move up and down on path?
[Re: growthweb]
#131859
05/25/07 18:23
05/25/07 18:23
|
Joined: Mar 2007
Posts: 776 Poor village - Poland ;)
tompo
User
|
User
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
|
Your player is the human or something? If yes... gravity keeps him on the ground so he will be always on the ground. If this is a airplane then use vec_to_angle(my.pan,node.pos) and the ship will look at the node and then move him with c_move;
Never say never.
|
|
|
Re: How to get entity to move up and down on path?
[Re: growthweb]
#131863
05/27/07 13:36
05/27/07 13:36
|
Joined: May 2007
Posts: 43 Austin, TX
Afox
Newbie
|
Newbie
Joined: May 2007
Posts: 43
Austin, TX
|
Well Im not sure that code is entirely accurate. that's why I asked if that's what it should look like. Did you try eliminating the gravity? I did. It gets the actor off the ground and on to the path thats placed in the air but it still won't follow nodes up or down. It's close enough for ducks flying level but probably won't help you any. try this site for more clues path tutorialsAnd let me know if you figure it out
|
|
|
Re: How to get entity to move up and down on path?
[Re: growthweb]
#131867
06/06/07 01:17
06/06/07 01:17
|
Joined: Jan 2007
Posts: 183
Kinji_2007
Member
|
Member
Joined: Jan 2007
Posts: 183
|
Create your own path code. Follow the tutorials I have on NITROs site. If you run into problems pm me. If I remember right, I did one of the last path finding tutorials on bats or planes.. cant remember. Either way, try them out.
If you would like a certain answer to your problem, please paste your script.
Last edited by Kinji_2007; 06/06/07 01:29.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|