N
N
neoluna2020-12-20 11:59:27
C++ / C#
neoluna, 2020-12-20 11:59:27

How to rotate bot using RotateVector()?

Hi all. There is a static mesh bot in C++ that is moving forward. Through Ray Casting, he tracks obstacles in front of him and if he finds it, he must turn to the side. Direct access via GetActorRotation() rotates the bot around its local axis. Question: how to make the bot turn in world coordinates?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question