I can’t find how DotsSample have removed the automagic add of children translation and rotation values. Updating component list in my own project always seem to add them if I haven’t ticked it to be manual.
Hey Jawsarn,
Take a look at the DOTS Sample here: DOTSSample/Assets/Unity.Sample.Game/GameBootstrap/GameBootStrap.cs at 09543c800c4ab58f061db4a407c3f564dc04f734 · Unity-Technologies/DOTSSample · GitHub
Specifically, lines 28 and 29:
GhostAuthoringComponentEditor.GhostDefaultOverrides.Remove("Unity.Transforms.Translation");
GhostAuthoringComponentEditor.GhostDefaultOverrides.Remove("Unity.Transforms.Rotation");
I think this is what you’re after. I just had to go through something similar myself and this was the only place on the entire Internet I could find the answer.
Hope this helps.
1 Like