summaryrefslogtreecommitdiffstats
path: root/src/entities/Physical.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/Physical.h')
-rw-r--r--src/entities/Physical.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/entities/Physical.h b/src/entities/Physical.h
index 26ef0086..ee75d059 100644
--- a/src/entities/Physical.h
+++ b/src/entities/Physical.h
@@ -115,6 +115,9 @@ public:
m_vecMoveSpeed.y = y;
m_vecMoveSpeed.z = z;
}
+ void SetMoveSpeed(const CVector& speed) {
+ m_vecMoveSpeed = speed;
+ }
const CVector &GetTurnSpeed() { return m_vecTurnSpeed; }
void SetTurnSpeed(float x, float y, float z) {
m_vecTurnSpeed.x = x;