Why instantiated gameobject returns back to its initial position after I move it?
Hi, I have instantiated an object at a specific position:
3Dmodel = Instantiate(3DModel , 3dPosition, 3dRotation) as GameObject;
3Dmodel .parent = gameObject.transform;
However when I translate it afterwards using another scrip and after i apply the translation for the amount of time that I set manually by clicking:
PlaceToFloor.Instance.bimObject.3Dmodel.Translate(new Vector3(0, 0, 1 * TranslationSensitivity));
the gameobject returns automatically in its initial position - this is something that I want to avoid. Why is this happening?
Thank you!
Your answer
Follow this Question
Related Questions
Animation won't stop (Solved) 2 Answers
Unity 5 NullReferenceException after loading new scene. 1 Answer
gameobject deforms when rotation changes 1 Answer
Information about when it is destroyed any GameObject on scene. 0 Answers
The referenced script on the behaviour is missing error help plz 2 Answers