ECS equivalent to Transform.TransformDirection()?

So I started work on an ECS physics character controller, and I need to take the local space input and turn it into global space directions. I was able to port most things from my original physics character controller just fine. But I need this function, does anyone have an equivalent given through Unity? Or perhaps one I can make myself?

Also, Mathf.Clamp() should be threadsafe. I don’t see why it shouldn’t be, (Mathf.Clamp just returns in a Job system without throwing any errors) it’s a static function.

You are better to ask ECS related questions, in DOTS forum section.

You will have better chance of getting DOTS related answer.

Thanks, I didn’t see this thread.