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

(9816)

2D

(259)

Ads

(49)

AI & Navigation

(77)

Analytics

(114)

Animation

(359)

Asset Store

(264)

Assets

(508)

Audio

(166)

Cloud Build

(119)

Collaborate

(44)

Docs & Tutorials

(216)

Editor

(2269)

Everyplay

(13)

Game Performance Reporting

(16)

General

(880)

Graphics

(814)

GUI

(394)

Input

(155)

Licensing

(82)

Networking

(174)

Physics

(361)

Platforms

(425)

Profiling & Optimization

(76)

Runtime

(168)

Scripting

(1087)

Terrain

(162)

WebGL

(138)