How do i get the transform from an entity? TransformAccess is not accessible due to boxing restrictions within a job.
I need to get the rotation in euler of one object then set the rotation of another.
TransformAccess is used for accessing the Transform of GameObjects and is the only way to access those in jobs (IJobParallelForTransform) .
So if your entity was created using the object conversion workflow you will have at least LocalToWorld, Translation and Rotation components. You can read more about it here.
You can get all the Euler rotation via Rotation component. eg. ((Quaternion)rotation.Value).eulerAngles