- Home /
Question by
Braza · Dec 14, 2014 at 09:00 AM ·
instantiatecolliderterraincharactercontroller
Randomly some prefab instances have Character controller misaligned
Hi! I do a scene where units spawn above the earth. They get grounded and the game can begin. But sometimes part of the same prefab instances get half height deep in terrain. I watched the scene and instances appeared to have character controller collider shiffted. See the screenshot. http://screenpresso.com/=QSSye
I cant understand how can that happen.
Prefab is the same
Method to spawn is the same
Logs look the same way for all instances
Collider position relative to the character IS THE SAME in the inspector for all instances, whether thy have that shift or not. Units are ~1.80 height and the character controller collider center is at 0.95.
Any help appreciated
Comment