Game Prototyping in Unity
I began by placing my walls, "forest" of pillars and bridge whiteboxes. I wanted it closed off so I made the wall around the entire area. Then I made prefabs for enemies in red and collectible coins in yellow.
I added my art stones and am about to start adding particle effects fire.
I just had to rewrite most of the below info because my computer crashed and it didn't save properly.
My problems began when I added my character movement: using WASD mu character moves with the front facing the same direction as the camera. My cameraParent is plugged in to my mover script to allow this and has a mouse rotator. My camera has a smooth follow added and xyz rotation and location is zeroed out. This is all fine, what should happen is my camera follows my character always keeping it in sight; HOWEVER instead it rotates 1200 from a stationary location. I tried making various adjustments and re-watching the video to see if I missed a step and so far as I can tell I did everything right so I have no idea why it is not working.
I decided to move on to the enemies and coin collection. I made a projectile using a particle effect and although it does not move as fast as the tutorial I was ok with it. I attached everything together then tagged the enemies and added a rigid body without gravity and turned on Is Trigger. Then I plugged in the appropriate script that causes the enemies to be destroyed if hit by the particles. What happens instead is I can now walk through the enemy capsules. again after attempting adjustments and re-watching vids I moved on to coin collection. Same thing happens again instead of walking into the coin and it disappearing and being added to my collection I can walk right through it. Obviously I am doing something wrong but I can't figure out what.
Comments
Post a Comment