GentleMoa / S6_BountyHunt

A sixth semester student project by Felix Venne, student of the "Expanded Realities" course of studies at the h-da Hoschule Darmstadt.
0 stars 0 forks source link

Enemy Spawning Faulty Spawn Perimeter #15

Closed GentleMoa closed 2 years ago

GentleMoa commented 2 years ago

Issues

Fix One-sided bias of spawning! Solutions:

Store height of the _raycastOrigin in a float var in Start, use it later in ReshuffleRaycastOrigin as the height Use array of 4 empties to mark the corners of the enemy spawn area and use their positions to set the bounds in which enemies can spawn