A
A
AliminVerckon2021-12-08 22:54:14
Unity
AliminVerckon, 2021-12-08 22:54:14

How to generate objects by thorn?

For those who do not know what a thorn is.
Thorn is the shape of a donut. I hope it's clear
. There is a code that generates asteroids, but in Random there is only generation by sphere, but I need a turn.
How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Griboks, 2021-12-08
@AliminVerckon

Everything is very simple. You have a function, you parametricize it , and then you generate two parameters to calculate x, y, and z.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question