Next, i add this GO to the scene and rotate GO around Y axis on 180 degree. I apply rotation not in code - just in Editor2 inputbox. In Editor2 all is good, but in builded app i see that “collisionobject_head” placed UNDER zombie body, looks like applyed rotation around Z axis. Look here (physics debug mode on):
This annoying bug - instead of conveniently placing GO in the editor, throwing simple GO on the scene i create same things through additional collection creation and instantiation him in code from collection factory
If you replace gameobject with collection and use setup as below, you than can rotate around y without any hassle.
Collection
root <-- position (0, 0)
go <-- position (any, any)
collisionobject
shape <-- position (any, 0) y must be zero, x - any value, usually zero too