BSc3b Week 9- Infinitely spawning rooms straight ahead working.


This is the same logic as before in all the rooms just the spawn room is passing less values with it now only taking the room number and spawn arrow removing the redundant player character and spawn room parameters.

https://blueprintue.com/blueprint/rzkgwqyu

This logic is mostly the same as before just using an array of only the forward rooms (Room1, Room2, Room6 and Room7) with the massive change coming to the comparison of arrow locations for setting the spawned room to the correct location.

This now just gets the world location of the target arrow and subtracts it from the world location of the spawn arrow setting that to a new variable (forgot to name the variable but is fixed in later development).

Finally the setting actor location of the spawned room is now set to the spawned room actor location – this new variable.

This shows it working for spawning rooms straight ahead.

,