W
W
WasTabon2021-01-11 17:42:48
Unity
WasTabon, 2021-01-11 17:42:48

How to get coordinates for example inside an object?

Let's say I have a lot of invisible objects on the level, how can I get coordinates inside them in order to spawn objects there (coordinates should be randomly generated). I apologize in advance if I didn’t write it clearly, it’s just that while I was thinking how to paint it, my head boiled

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
WasTabon, 2021-01-11
@WasTabon

In general, I just threw an object on each corner and that's it, without these any formulas (:

F
freeExec, 2021-01-11
@freeExec

There is nothing ready, you solve the usual geometric problem about finding a point in the volume of a figure.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question