This question is really about how do I create a prefab that allows for this.
What I want is a billboard that will always face the camera while it is moving in space.
I believe I do this with a gameobject that contains no mesh that has a child gameobject with the billboard mesh.
A script I would add to child billboard gameobject would control its orientation to the camera. The parent gameobject would have a script attached that controls its movement.
I am having trouble creating the basic prefab with the empty parent and the child with only the billboard in the Unity UI. When I try to drop in the child gameobject it merges rather creating the child.
Can someone help me out with the steps to create this kind of a prefab?
↧