Commit Graph

12 Commits

Author SHA1 Message Date
Nick Samarin
af1ca0cfc1 - added operators for manual assigning navigation polygon idx to mesh faces in edit mode
- modified conversion process to take into account changes caused by mesh editing
Note: conversion to dtStatNavMesh in KX_NavMeshObject hasn't worked correctly yet
2010-07-27 21:01:00 +00:00
Nick Samarin
e8d129cc76 - added custom get function for navmesh property of steering actuator to accept only objects with NavMesh physics type
- fixed the access to KX_SteeringActuator attributes from scripts
- added enum members for KX_SteeringActuator and KX_NavMeshObject to GameLogic dictionary
2010-07-21 09:16:27 +00:00
Nick Samarin
b4b9e01f8d - set defaults to steering actuator parameters
- fixed order of triangle indexes for navigation mesh representation
2010-07-20 14:09:05 +00:00
Nick Samarin
0fbca1dc19 - added options to enable visualization for obstacle simulation and steering actuator
- added python attributes for parameters of steering actuator
2010-07-15 18:41:29 +00:00
Nick Samarin
219e9022b9 - set default value for level height params
- added flag OPTYPE_UNDO for navmesh operator to enable undo operation
2010-07-14 20:09:04 +00:00
Nick Samarin
b17f90b22c - fixed bugs with unique vertices of detailed mesh in generation and conversion of navigation mesh
- set default physic type and name for navigation mesh object
2010-07-14 13:20:13 +00:00
Nick Samarin
852b84745c Work on conversion of the navigation mesh: we build navmesh directly from blender mesh using custom face data, when no custom data provided we use RAS_MeshObject interface 2010-07-09 22:22:51 +00:00
Nick Samarin
4fb80f36e2 added actual creation of navigation mesh for navmesh modifier 2010-06-25 21:08:23 +00:00
Nick Samarin
c92d0dfdf6 Added:
- obstacle culling for correct simulation in 3d
- flag for steering actuator termination on reaching target
- path recalculation period
- advance by waypoints (for path following)
2010-06-18 23:48:52 +00:00
Nick Samarin
700c32e738 - registration obstacle in game object
- creation obstacle on object replication (including navmesh object)
- creation object transform for navigation mesh directly from blender object instead of using SGNode world transform (because SGNode doesn't exists yet when building navmesh  on ProcessReplica)
2010-06-16 00:23:24 +00:00
Nick Samarin
9d1b8bf0f8 Added segment obstacles, creation obstacles for walls of navigation mesh 2010-06-07 23:09:50 +00:00
Nick Samarin
05b92f0fc9 Added new actuator type for following steering behaviors: seek, flee, path following; renamed KX_Pathfinder to KX_NavMeshObject 2010-05-31 22:35:22 +00:00