Quantcast
Channel: Questions in topic: "parenting"
Viewing all articles
Browse latest Browse all 302

GameObject Shrinks when Setting Parent

$
0
0
I noticed when i parent my object, my child object scale changes to 0,0,0. How can i fix this? using UnityEngine; using System.Collections; public class ParentScript : MonoBehaviour { void Start () { GameObject newParent = GameObject.FindGameObjectWithTag("LaserLocation"); this.transform.parent = newParent.transform; } }

Viewing all articles
Browse latest Browse all 302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>