diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-07 00:32:19 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-07 00:32:19 +0300 |
commit | 4ae4bc94c692d9fe5781d36a7be6ab72803f6162 (patch) | |
tree | bacd3caa49fb507ff6d4f3b15b89d4bb85348d5d /src/entities | |
parent | 20d1381a0f62384e6c807d00c607d00bcc94f0c6 (diff) |
CCarCtrl::GenerateOneRandomVehicle!
Diffstat (limited to 'src/entities')
-rw-r--r-- | src/entities/Physical.h | 3 |
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; |