Hello, everyone. I want to create planet generator. I have a cube sphere and want to add a perlin noise to vector's forward axis. The problem is it adds to world coordinates. If you give me a code I will be very grateful. Thanks.
Answer by kushnirenko
Mar 07 at 09:43 PM
The solution was simpler than I supposed:
vertexPosition += meshNormal * value;
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
343 People are following this question.
How can i rotate all the child objects together at the same time ?
How to enable script on another gameobject in C#?
FormatException: Input string was not in the correct format
Using spawners script variable to set relevant speed of an Enemy... Im bewildered