diff --git a/cpp_record_sdk/entities.cpp b/cpp_record_sdk/entities.cpp index 4944883..29b67c5 100644 --- a/cpp_record_sdk/entities.cpp +++ b/cpp_record_sdk/entities.cpp @@ -36,7 +36,7 @@ namespace thuai { } void Entity::set_facing(Vec2D new_facing) { - this->m_facing = new_facing; + this->m_facing = new_facing.normalized(); } Vec2D Entity::facing(void) const {