Jump to content
Sign in to follow this  
Cernu

Spawn in random position relative to a game logic

Recommended Posts

Hi, I already have a basic spawn system, that use the random position within unit circle vector. Is there an other way to randomize a vector , or tweak this "unit circle" ?

Share this post


Link to post
Share on other sites

I got it, simple enough :

get the position of the whatever, add a vector, and randomized its X and Z values. And add a raycast to spawn on the ground.

Edited by Cernu

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×