Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,758 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
c-trace pathfinding ^^ #405908
08/09/12 20:09
08/09/12 20:09
Joined: Feb 2010
Posts: 886
Random Offline OP
User
Random  Offline OP
User

Joined: Feb 2010
Posts: 886


Download Link

I just wanted to share a little, great working pathfinding code baced on traces grin

Replay mistaces, bugs or ideas, requests by wish.
But tell me how you like it ^^

Greedings Random



Re: c-trace pathfinding ^^ [Re: Random] #405911
08/10/12 06:35
08/10/12 06:35
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
looks really good, but you should give them a "decision" if the turn left or right. i looks like they all turn left to avoid each other
also it could be that two smilies run against each other an block themselves, also if the trace hits nothing, but the model stands, you should do some turns if you hit nothing but also don't move
and you can't move with WASD grin


Visit my site: www.masterq32.de
Re: c-trace pathfinding ^^ [Re: MasterQ32] #405912
08/10/12 07:50
08/10/12 07:50
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Nice mate! laugh Needs some small fixes, like MasterQ32 mentioned, but overall it looks great laugh


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: c-trace pathfinding ^^ [Re: 3run] #405920
08/10/12 09:29
08/10/12 09:29
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Yeah, great pathfinding, but really performance eating. Maybe with some optimizations.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: c-trace pathfinding ^^ [Re: alibaba] #405923
08/10/12 10:58
08/10/12 10:58
Joined: Apr 2008
Posts: 650
Sajeth Offline
User
Sajeth  Offline
User

Joined: Apr 2008
Posts: 650
Is this really "pathfinding" or just obstacle (more or less-) avoiding?


Teleschrott-Fan.
Re: c-trace pathfinding ^^ [Re: Sajeth] #405924
08/10/12 11:05
08/10/12 11:05
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
i would say the second one nails it.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: c-trace pathfinding ^^ [Re: alibaba] #405977
08/11/12 23:08
08/11/12 23:08
Joined: Feb 2010
Posts: 886
Random Offline OP
User
Random  Offline OP
User

Joined: Feb 2010
Posts: 886
It is obstacle (more or less-) avoiding ^^
I simply used traces.
But everything is open scoure. Feel free to play around with it and show the results on this topic.




Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | 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