Tut 3 Work
I used a capsule as my player object. I made a cube to represent the enemy. I made the enemy black so it was easier to see. I made the enemy a prefab. I needed to make the enemy prefab be instantiated when the player clicked. I attempted to do this using a script. This is the result of what I did... The above gif shows that a clone of the enemy is created when the player clicks. However, it is spawned somewhere off screen. You can tell it spawns by looking at the object list to the left. There must be an issue with my script. As for the enemy been able to follow the player, that doesn't work either. Currently the enemy just spawns on the player like this...
I have messed around with this a lot but it the enemy just warps instead of following. It is clear when I build the simple game for the self study, I need to try and fix these things.
UTAS KIT207 Portfolio
Status | Prototype |
Author | AdamRutledge |
More posts
- Cameras and Post ProcessingAug 24, 2021
- Self Study 5 LightingAug 16, 2021
- Simple Game Self Study 4Aug 09, 2021
- Game IdeasAug 06, 2021
- Terrain Self Study 3Aug 02, 2021
- Tut 2 Walking AnimationJul 30, 2021
- animation self study 2Jul 23, 2021
- Tut 1 Make SceneJul 22, 2021
- Model TaskJul 16, 2021
Leave a comment
Log in with itch.io to leave a comment.