Search Feedback

0
votes

Add onUnitCircle function to Random class

Scripting

-

-

Unity have Random.onUnitSphere for generation positions on 3D sphere surface, but it not have analog for generate positions on circle border for 2d/3d using.

The problem was found there: https://forum.unity.com/threads/please-help-with-
random-spawn-object-on-circle.512461/#post-3352616

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(9469)

2D

(244)

Ads

(43)

AI & Navigation

(74)

Analytics

(109)

Animation

(338)

Asset Store

(249)

Assets

(499)

Audio

(161)

Cloud Build

(108)

Collaborate

(36)

Docs & Tutorials

(208)

Editor

(2183)

Everyplay

(13)

Game Performance Reporting

(15)

General

(839)

Graphics

(794)

GUI

(375)

Input

(153)

Licensing

(80)

Networking

(165)

Physics

(354)

Platforms

(416)

Profiling & Optimization

(72)

Runtime

(167)

Scripting

(1057)

Terrain

(155)

WebGL

(135)