I have learned to do a basic blood splatter for use when you get hit this can be reused and tinkered with to add different effects. To Make this work i used "Random.InsideUnitCircle" which will place an object with the axis of the area. I have the center of the circle set to the origin 0 but this is changeable. The Blood is hidden off the screen and Its gets moved via "GameObject.Find" and put in a random location.
GameObjectF.Find ("Ball").transform.position = Random.InsideUnitCircle * 3;
No comments:
Post a Comment