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

Associate Anthony Rosenbaum