Jump to content

Refactoring Week - Part 3


Oafkad

Recommended Posts

image.png

Alright, well, that IS less than ideal. I've moved our spawn request logic into a state action. Because it honestly makes more sense for it to live there than it would on a particular gameobject. The plan is pretty simple, anything, anywhere, can request items from the spawn system and then they can choose to position those spawned assets anywhere they need and do anything extra to them after the fact.

Unfortunately I need to fix a few things tomorrow. The first is that the positional data is wack, clearly a few problems here:

1) They are all spawning in a thin line.
2) They are all spawning under the nav mesh (woops).

Otherwise though, if you ignore these two game breaking issues it is basically perfect! So, given how heavy my eyes are at the moment, I am going to do just that.

Link to comment
Share on other sites

×
×
  • Create New...