Skip to content
Snippets Groups Projects
Commit aef0d3aa authored by Andreas Rauschert's avatar Andreas Rauschert
Browse files

SetSpeed does not change movement direction


- added nullptr check for entity
- first try to use the existing velocity vector of the entity to derive
the direction of the future velocity vector before using the entity
orientation

Signed-off-by: default avatarAndreas Rauschert <andreas.rb.rauschert@bmw.de>
parent 4f665cc7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment