Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Samarin <nicks1987@bigmir.net>2010-08-15 21:40:57 +0400
committerNick Samarin <nicks1987@bigmir.net>2010-08-15 21:40:57 +0400
commitb5f4144d251989be378659858ed38aaf572ff4ec (patch)
tree5a4bfc9b5cf5513fb75d00608c76a78efdb4020b /source/gameengine/Ketsji/KX_SteeringActuator.h
parente6412cd5c6f267c2fbefb4fe42e4f8e26f1bfcd4 (diff)
added option to set "up" vector of the actor orientation using navmesh normal (steering actuator)
Diffstat (limited to 'source/gameengine/Ketsji/KX_SteeringActuator.h')
-rw-r--r--source/gameengine/Ketsji/KX_SteeringActuator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_SteeringActuator.h b/source/gameengine/Ketsji/KX_SteeringActuator.h
index 78fb29f4124..2b2dc9ae923 100644
--- a/source/gameengine/Ketsji/KX_SteeringActuator.h
+++ b/source/gameengine/Ketsji/KX_SteeringActuator.h
@@ -66,6 +66,7 @@ class KX_SteeringActuator : public SCA_IActuator
bool m_isSelfTerminated;
bool m_enableVisualization;
short m_facingMode;
+ bool m_normalUp;
float m_path[MAX_PATH_LENGTH*3];
int m_pathLen;
int m_pathUpdatePeriod;
@@ -96,6 +97,7 @@ public:
int pathUpdatePeriod,
KX_ObstacleSimulation* simulation,
short facingmode,
+ bool normalup,
bool enableVisualization);
virtual ~KX_SteeringActuator();
virtual bool Update(double curtime, bool frame);