Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity get a position inside sphere

float radius;

transform.position = Random.insideUnitSphere * radius;
 
PREVIOUS NEXT
Tagged: #unity #position #sphere
ADD COMMENT
Topic
Name
7+9 =