- Home /
Changing Pivot with new Parent not working on instance
This one is really bugging me!
I needed to move the pivot of my muzzlefire-effect, so I created a new parent, and moved the child. When rotating the parent on the prefab this works without issues.
However, after I spawn my effect with my object pooler, it behaves as if i would not have created the new parent.
when I select the parent it actually indicates the correct position of the pivot, but rotating the object, rotates the effect with the pivot of the child.
Any idea on what does go wrong here?
edit:
I got it working by re-slicing the sprite sheet of the effect and setting the pivot there. I still cannot explain the behavior above :/
Your answer

Follow this Question
Related Questions
Adding Rotation to a Gameobject 1 Answer
unexpected axis values when a sphere rotates 360 degrees around a game object 1 Answer
Instantiated Objects Point towards unknown point 0 Answers
Rotating an object in position 2 Answers
Rotating parent and positioning child between parent and camera. 1 Answer