if(Hit.collider.tag == “Flesh”){var obj : Transform = Instantiate(BodyImpact,Hit.point,Quaternion.FromToRotation(Vector3.forward,Hit.normal)) as Transform;
}
**My goal is to create object called BodyImpact on collision of an object with the tag called Flesh, this works but for some reason I can’t get that BodyImpact object to become a child of the object hit… How do I do that? (JS) **