Answers for "unity get a position inside sphere"

C#
1

unity get a position inside sphere

float radius;

transform.position = Random.insideUnitSphere * radius;
Posted by: Guest on June-11-2021

C# Answers by Framework

Browse Popular Code Answers by Language