After that I decided to create the player model and enemy
for which I used basic 3D shapes such as the capsule for the player and the
cube for the enemies which I then made taller. Then select player and make sure
you are in the inspector tab of unity and go to add component and add a
Rigidbody, do this for both the player and the enemy of which I named cubebot.
I also took this moment to add materials and used them to change the colour of
the player and cubebot, Red for the player and green for the cubebots as well
as making the floor a light blue colour.
Next selecting the player and using the inspector node add
component and find capsule collider as this will be referenced for hit boxes
such as terrain as well as when the cubebots get close enough to attack. We
will also give the cubebot in the hierarchy a sphere collider which will help
with a trigger later so that when the player enters a specific range the
trigger will activate and allow for damage to the player.
Comments
Post a Comment