Answers for "spawning object around in a circle of an gameobject unity'"

C#
0

spawning object around in a circle of an gameobject unity'

float radius = 5f;
originPoint = spawner.gameObject.transform.position;
originPoint.x += Random.Range(-radius, radius);
originPoint.z += Random.Range(-radius, radius);
Posted by: Guest on August-04-2021

Code answers related to "spawning object around in a circle of an gameobject unity'"

C# Answers by Framework

Browse Popular Code Answers by Language