Answer by kikoncuo
renderer.material = transform.parent.renderer.material; This line of code provided by [robertbu][1] as a commentary does exactly what I wanted without dealing with getcomponentinparent stuff. [1]:...
View ArticleAnswer by kikoncuo
A typical mistake that I make all the time is to parent many objects each one with rigibodys and colliders this usually causes problems with positioning of some objects because the center automatically...
View ArticleAnswer by kikoncuo
renderer.material = transform.parent.renderer.material; This line of code provided by [robertbu][1] as a commentary does exactly what I wanted without dealing with getcomponentinparent stuff. [1]:...
View ArticleAnswer by kikoncuo
A typical mistake that I make all the time is to parent many objects each one with rigibodys and colliders this usually causes problems with positioning of some objects because the center automatically...
View Article
More Pages to Explore .....