• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Transform.parent

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

FlaSh-G commented

ChildCount without counting the children of the child ?

Sep 13, '21 weapon·weapon system·transform.parent

2 Replies

0 Votes

avatar image

Raven_Gothchild answered

How can I parent a GameObject to and instance of another GameObject?

Sep 20, '16 in Help Room

1 Reply

0 Votes

avatar image

Ryanmstc commented

parent.transform creates new game object

Jan 16, '15 javascript·gameobject·transform·first-person-controller·transform.parent

1 Reply

0 Votes

avatar image

blitzcloud edited

How to instantiate exactly on the requested place with 0 offset.

Apr 12, '16 in Help Room

1 Reply

0 Votes

avatar image

NerdRageStudios answered

problems parenting a gameObject to another upon instantiating when same name exists

Feb 27, '15 gameobject·instantiate·transform·transform.parent

1 Reply

0 Votes

avatar image

Owen Burk commented

Why is the object not parenting?

Mar 10, '14 transform.parent

0 Replies

0 Votes

avatar image

WeirderChimp answered

transform.parent == TheParentItShouldHave

Aug 1, '14 networking·null·transform.parent

1 Reply

0 Votes

avatar image

toddisarockstar answered

what object does the parent child code go on?

Dec 2, '15 in Help Room

1 Reply

0 Votes

avatar image

bucketman5000 answered

Resetting Ball Object to the original parent and position

Sep 12, '21 velocity·transform.position·transform.rotation·transform.parent

2 Replies

0 Votes

avatar image

electro_unity commented

transform.parent = X is bugged on 2018.1.0f2?

May 30, '18 transform.parent

1 Reply

0 Votes

avatar image

Nexoan edited

Why is my transform.parent not working Closed

Aug 10, '20 transform.parent

2 Replies

0 Votes

avatar image

Treven commented

transform.DetachChildren() is deactivating my children's scripts after detaching from the parent

Apr 10, '20 children·ondestroy·transform.parent·disabling·detach

1 Reply

0 Votes

avatar image

KaiKristo edited

setParent. what am i doing wrong?

Aug 13, '17 in Help Room

0 Replies

0 Votes

avatar image

cdr9042 asked

transform.position is wrong when parent has scale different than Vector3.one Closed

Jul 1, '20 transform.position·localscale·transform.parent

0 Replies

0 Votes

avatar image

Bibrosko asked

transform.parent to swap prefabs?

Dec 12, '17 prefabs·parent·child·transform.parent

0 Replies

0 Votes

avatar image

streeetwalker edited

transform.parent for individual object

Mar 24, '20 in Help Room

2 Replies

0 Votes

avatar image

ChloeWaterwood asked

Drag, Drop, and Attach

Feb 22, '18 in Help Room

0 Replies

0 Votes

avatar image

curiousAmit asked

[Deep Profiling] Confusion in `transform.parent = null`

Apr 3, '19 in Help Room

0 Replies

0 Votes

avatar image

pooyakp edited

Setparent function dont work properly

Nov 12, '18 transform.parent

0 Replies

0 Votes

avatar image

VeeralSuthar published

transform.parent.localRotation not working (Object reference not set to an instane of an object)

Dec 7, '20 in Help Room

0 Replies

0 Votes

avatar image

diwang asked

Changing transform.parent moved the position of the parent to the position of the child gameobject.

Dec 22, '21 transform.position·transform.parent

0 Replies

0 Votes

  • ‹
  • 1
  • 2

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

transform gameobject instantiate transform.position parent c# unity 5 rotation child child object null children destroy networking parenting javascript transform.rotation player cat particle system disabling null reference mouse quaternion ondestroy


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges