PlaceholderGames / 2021-yr1-Team-Rem

Second game for CS1S464 2020/21
0 stars 0 forks source link

Trigger boxes not working in standalone game #15

Closed 30001606VA closed 3 years ago

30001606VA commented 3 years ago

When I am testing the game in a "New Editor Window (PIE)" everything works fine. But if I play in "Standalone Game" the trigger boxes do something else, it sends the player to a different location rather than what I have set. Still looking into it.

30001606VA commented 3 years ago

Solved! Turns out I was getting the sprite component for the TargetPoints which only work in editor. In order to make it work in the standalone game I had to use "Get Root Component" instead.