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

(10663)

2D

(266)

Ads

(51)

AI & Navigation

(90)

Analytics

(118)

Animation

(376)

Asset Store

(283)

Asset Store Publisher

(3)

Assets

(514)

Audio

(173)

Cloud Build

(129)

Collaborate

(46)

Docs & Tutorials

(226)

Editor

(2341)

Everyplay

(13)

Game Performance Reporting

(17)

General

(1435)

Graphics

(840)

GUI

(409)

Input

(159)

Licensing

(86)

Networking

(180)

Physics

(371)

Platforms

(432)

Profiling & Optimization

(78)

Runtime

(176)

Scripting

(1119)

Terrain

(165)

WebGL

(140)