How to make randomly generatio doors on a certain plane?
Dear friends! Could you please tell me how can I do randomly generatio doors on a certain plane. For example I have 4 walls on a 1-3 the walls need to have been spawned in a random door. I'm just confused or not quite even(
fredrick_Torphy answered on March 23rd 20 at 18:51
set your spawn point doors, combine in an array randomized choose in the point array, sastavni door.
without anchors, it's not much more complicated.
Celia68 answered on March 23rd 20 at 18:53
-an array of doors in the location
-random. to obtain the number. for example from 0 to 1.
-less than 0.5 - is at the point the door anymore. (or Vice versa).
-put the door.
-when generating the next location BEHIND the wall after running random - force to put the door. to locations was connected with the passage of "the door".
essno need somewhere to store the configuration location...to the next location it is not updated :) .....although....