Trace compile error?

This function calculates the angle at which the character runs. In Editore works. But when you run the “standalone game” or packing project - gives incorrect values. Progress on the account is not zero and -90

Does anyone have a similar problem?

Why not use 2 sockets to determine the direction each foot is facing?

This seems overly complicated for what your attempting to achieve.

To your problem, im not sure i can help you on that sorry haha.

Feet use “IK” and constantly changing to support the fingers on the heel. Therefore, the option of two sockets are not suitable. It is necessary to receive the degree of inclination of the surface under the character. This feature allows it but does not work outside the editor.