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

(10516)

2D

(274)

Ads

(52)

AI & Navigation

(78)

Analytics

(125)

Animation

(389)

Asset Store

(332)

Asset Store Publisher

(10)

Assets

(534)

Audio

(176)

Cloud Build

(139)

Collaborate

(57)

Docs & Tutorials

(237)

Editor

(2452)

Everyplay

(14)

Game Performance Reporting

(15)

General

(950)

Graphics

(861)

GUI

(422)

Input

(165)

Licensing

(88)

Networking

(185)

Physics

(380)

Platforms

(438)

Profiling & Optimization

(81)

Runtime

(180)

Scripting

(1147)

Terrain

(168)

WebGL

(141)