I’m using a TransformAccess inside an IJobParallelForTransform job, and I’d like to be able to compute a set of vectors in this job and write them to a NativeArray as output.
Ideally, I would just return transformAccess.up, transformAccess.right, etc. But these aren’t available in the TransformAccess API, so I think I need to compute them myself. Is there a Vector3 transformation I can apply, or do I need to do the math manually? If I have to do it manually, I think I’m overthinking the math itself, and would appreciate some pointers.
Thanks!