User Tools

Site Tools


gamedev:navigation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gamedev:navigation [2014/06/05 16:15] – exporting dragonlordgamedev:navigation [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord
Line 1: Line 1:
 +{{tag>ai navigation pathfinding}}
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[gamedev:main|Game Development with the Drag[en]gine]] >> **Navigation System**+[[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> **Navigation System**
 </WRAP> </WRAP>
  
Line 185: Line 186:
  
 For Edges and points as used for Grid navigation spaces it is a bit more complicated due to the nature of how Blender handles custom properties. You have to use Vertex Groups for this to work. Create for each navigation type a single vertex group in the object. For Edges and points as used for Grid navigation spaces it is a bit more complicated due to the nature of how Blender handles custom properties. You have to use Vertex Groups for this to work. Create for each navigation type a single vertex group in the object.
-<WRAP center round important 80%>Since vertex groups are half-model half-object data the custom data is attached to the object. Reusing a mesh hence does not take over these values as they stick to individual objects. If you want to copy the data duplicate the the object.</WRAP>+<WRAP center round important 80%>Since vertex groups are half-model half-object data the custom data is attached to the object. Reusing a mesh hence does not take over these values as they stick to individual objects. If you want to copy the data duplicate the object.</WRAP>
 <WRAP box 250px right :en>{{ :gamedev:blender3d:vertexgroup_navtype1.png?200 |Vertex Group Nav-Type}}<WRAP centeralign>Vertex Group Nav-Type</WRAP></WRAP> <WRAP box 250px right :en>{{ :gamedev:blender3d:vertexgroup_navtype1.png?200 |Vertex Group Nav-Type}}<WRAP centeralign>Vertex Group Nav-Type</WRAP></WRAP>
 Once created you can now set the navigation type to use for edges and vertices belonging to a certain vertex group. For this use the Drag[en]gine Vertex Group sub panel in the Mesh Data panel. This shows the navigation data for the active vertex group. If no data has been set yet a button is shown to create the data. Once set the sub panel switches allowing you to set the navigation type the the same way as with materials. Once set you can assign edges and vertices to vertex groups. For a an edge the first vertex group is picked both end point vertices belong to. Hence make sure only one such vertex group fulfills this requirement or the result is undefined. Once created you can now set the navigation type to use for edges and vertices belonging to a certain vertex group. For this use the Drag[en]gine Vertex Group sub panel in the Mesh Data panel. This shows the navigation data for the active vertex group. If no data has been set yet a button is shown to create the data. Once set the sub panel switches allowing you to set the navigation type the the same way as with materials. Once set you can assign edges and vertices to vertex groups. For a an edge the first vertex group is picked both end point vertices belong to. Hence make sure only one such vertex group fulfills this requirement or the result is undefined.
gamedev/navigation.1401984917.txt.gz · Last modified: 2014/06/05 16:15 by dragonlord