Campbell Barton
2fb8292005
style cleanup
2012-09-16 04:58:18 +00:00
Campbell Barton
3a0593cc3d
code cleanup: dont use function calls like dot_v3v3, pow and sqrt within macros which results in calling the function multiple times needlessly.
...
also added some comments.
2012-07-06 22:48:28 +00:00
Campbell Barton
aeee798143
code cleanup: bge builds with clang without warnings / errors.
2012-06-29 09:16:59 +00:00
Campbell Barton
b4a0152e76
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
2012-04-11 08:15:13 +00:00
Campbell Barton
f62ad8f69b
remove header text:
...
"The Blender Foundation also sells licenses for use in proprietary software under the Blender Licens"
also remove NaN references from files that have been added since blender went opensource.
2011-11-29 10:54:47 +00:00
Campbell Barton
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
Campbell Barton
6778f7ae05
clear some warnings.
2011-10-09 04:11:18 +00:00
Guillermo S. Romero
a7f3e347b7
SVN maintenance.
2011-09-09 22:02:12 +00:00
Nick Samarin
3a8f3dd3f5
reworked obstacle simulation in order to have two realizations: with "cell" and "ray" sampling
2010-08-10 20:48:28 +00:00
Nick Samarin
a2372308d7
integrated adaptive sampling algorithm for obstacle avoidance
2010-08-04 19:32:37 +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
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
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
147e8d01eb
- added acceleration and turn speed parameters for obstacle simulation
...
- added debug visualization for object velocities
2010-06-11 21:13:59 +00:00
Nick Samarin
12b33ca099
Added debug circle rendering (extended OglDebugLine to OglDebugShape, created new function KX_RasterizerDrawDebugCircle)
2010-06-10 00:25:04 +00:00
Nick Samarin
0183d55108
Added parameters for obstacle avoidance simulation: for object - flag for creation representation in simulation(OB_HASOBSTACLE) and obstacle radius (obstacleRad), for scene - obstacle simulation type (obstacleSimulation); added ui for new parameters
2010-06-10 00:19:06 +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
0932f365bf
added obstacle avoidance code; object movement is implemented via setting velocity
2010-06-04 23:29:49 +00:00