There’s an IComponentData tag type called CopyTransformToGameObject that will do this for you. Simply add it during conversion and it works automatically.
Or if you need to do this manually, look up the TransformAccess structure.
yes i have tried this, the object that has the IConvertGameObjectToEntity script needs to have the convert to entity script attached. the reason i am avoiding this script is there is a major movement stutter bug.
if i just attach gameobjecentity on a basic cube i can see ‘box collider, enttiy, mesh filter, mesh renderer, transform’ in the entity debugger . is that a way to access the transform manually using TransformAccess?
You can look at how CopyTransformToGameObjectSystem works, there are some older examples of TransformAccess and TransformAccessArray here that may prove useful. You’ll need to use IJobParallelForTransform to use it correctly.