Game Development Community

dev|Pro Game Development Curriculum

Plan for Stefan Beffy Moises

by Stefan Beffy Moises · 06/19/2004 (6:28 am) · 4 comments

Hey there!

NavMeshModifiers

Wow, do you know the feeling that you *know* that the code you have in front of you just *has* to work, yet it doesn't? :P

Been running against a brick wall for three days figuring out a simple rotation/vector problem... and the funny thing is, the code pretty much *was* working all the time, only the data I was feeding into it was completely bogus :P

Anyways, here are the details... ;)
I have added a new "Marker" object, called a "NavMeshModifier" which can be used by the level designer to manipulate the NavMesh (or NavGrid if you want). You can choose from a drop-down menu what "action" you want it to perform, planned actions are e.g. make links between nodes "one-way-only", set a region of nodes to be avoided if possible or preferred, etc.
The first one I've implemented is the "one-way-link" thing...
so, the idea behind is, you can rotate the modifier into the direction you want the node "flow" to go (the direction is then indicated by a green arrow inside the box). Every link that is inside of < 90

#1
06/19/2004 (7:58 am)
I really want to play with this =)
#2
06/19/2004 (8:01 am)
ditto =)
#3
06/21/2004 (7:38 am)
Nice job beff. Write this down for next time:

garbage in garbage out

It's looking great.
#4
08/14/2004 (7:53 am)
Good to hear you got that dot product issue figured out. Those types of problems can make one go craaazy!