They’re All Up Inside!

Read Time:37 Second

Alright, so the goal was to damage the enemy base. I do this by adding a box collider to the friendly base which is detectable using an Overlap Sphere when the enemy “detonates” inside the base.

For this to work the Friendly Base needs to be placed into a custom layer which I called Base, though it could be called anything, really.

The other super cool bit was stashing the last visited position in Enemy Movement. We can use this to find the average of the last position and the current position and setting off the explosion so that it appears that the base is being attacked.

Well, I totally fell asleep. Sometimes I hate my work schedule.

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleppy
Sleppy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published. Required fields are marked *