- Home /
Why Does My Object Change Position During Update?
OBJECT POSITION:(-10.0, -9.0, -12.0)
(Filename: /Applications/buildAgent/work/14194e8ce88cdf47/Runtime/ExportGenerated/iPhonePlayer-armv7/UnityEngineDebug.cpp Line: 43)
OBJECT POSITION:(0.0, 0.5, 0.0)
(Filename: /Applications/buildAgent/work/14194e8ce88cdf47/Runtime/ExportGenerated/iPhonePlayer-armv7/UnityEngineDebug.cpp Line: 43)
OBJECT POSITION:(0.0, 0.5, 0.0)
(Filename: /Applications/buildAgent/work/14194e8ce88cdf47/Runtime/ExportGenerated/iPhonePlayer-armv7/UnityEngineDebug.cpp Line: 43)
OBJECT POSITION:(0.0, 0.5, 0.0)
The object i'm pertaining to there is an fbx animation added to an empty prefab When i instantiate the object, the position is right but in the next update, where i print that log, the position changes. Can someone please tell me why? Thank you.
Uncheck "automatically play animation" on the animation component of the prefab? Does that help?
i've tried that but it didn't work. What i did to fix the problem is i just created an empty game object. i added the fbx as child and I just set the position of the game object. Anyway, thanks for the reply. :)