Hi,
I am working on a custom movement component. When trying to make it out using avoidance manager. Something strange happens.
Here is the code in “AvoidanceManager.cpp” around line 513 in engine source code:
ReturnVelocity = BestVelocity;
Some data stored in BestVelocity should be assigned to ReturnVelocity, however, wrong value is assigned to left variable during debug.
For example:
I should get the value (26.1467419,-298.858429,0), but it returns (0,0,0)
I have no idea what is wrong with the assignment.