- Home /
Child and Parent, both at 0,0,0, but not on screen
I have a Prefab with a child object in it called "Body". Both the parent object and the child object have a position of 0,0,0. But when i click "F" to focus on the parent, its appears to be behind and above the position of the child.
Dropping the prefab into a scene and using focus there, same thing, its always "following" the child.
I created a 2nd Prefab and did all the same things (made a parent, then a child in it) and those appear to correct.
How can I fix my Prefab? Given that my Rigidbody is in the parent object, I'm concerned that them not being the same in world space is going to cause problems.
can you add a screenshot of this? i have a hard time to imagine what you are trying to describe in your post.
Answer by xavram · Mar 10 at 05:32 PM
Yes, they are 3d models, but problem with shaders...? Other than the basic shader, which I haven't changed, I haven't done anythign with shaders in these prefabs.
Ah, nevermind, figured it out! I have a camera object as another child and when its turned on, its above/behind the child mesh...so when you Focus on the parent, its actually picking the spot that's the middle of the two child objects. No problem!
Your answer
Follow this Question
Related Questions
Accessing children of instances vs children of original prefab 1 Answer
Make a simple tree 1 Answer
Photon Instantiate Prefab Script Problems 0 Answers
Problem with prefab parent and children objects that need to be instantiated multiple times. 1 Answer
Trigger in children object activates function in parent 0 Answers