UNITY GAME DEVELOPMENT Creating a Third Person Game
- Slides: 14
UNITY GAME DEVELOPMENT Creating a Third Person Game
CLASS OVERVIEW Class 4 Revision Third Person Camera Player Movement Camera Rotation Camera Look. At Camera Zooming Importing Assets Animation Blend. Tree Advanced: Animation events Advanced: Contextual sound using Raycasting
REVISION Raycasting – Camera-to-World Nav. Mesh Baking & Nav. Mesh Agent Click Visualisation Camera Movement Importing 3 D models Animation timeline Animation events Animator Raycasting – Game. Object-to-Game. Object Enums – Player States Advanced: Applying Damage
THIRD PERSON CAMERA Camera is behind player in the Z axis. Camera can rotate around Player on Y axis and X axis. Camera looks at Player.
PLAYER MOVEMENT Implement Horizontal and Vertical Player Movement. Implement Jumping logics.
CAMERA MOVEMENT Camera Position = Camera Target (Player) + Camera Offset
CAMERA ROTATION Use Mouse Axis to increase Rotation Clamp Rotation X Multiply Rotation with Camera Offset Add up with Camera. Target and assign to Camera Position
CAMERA LOOKAT Look. At function will face an object towards it’s target.
CAMERA ZOOMING Mouse Scroll. Wheel Axis can be used to Zoom in / Zoom out. Value should be clamped to prevent Camera going too far forward / back.
IMPORTING ASSETS Download Assets Import Asset Folder Place Ellen Model in Scene Setup Animations for looping Create Animator
ANIMATION BLENDTREE Setup Animation Blend Tree with Movement Parameters
ADVANCED: ANIMATION EVENTS Setup Animations Events for Footsteps (0 = left, 1 = right) Play Sound Effect per Step
ADVANCED: CONTEXTUAL SOUND USING RAYCASTING Raycast from Foot to Ground Play sound based on ‘tag’
Q&A Do you have any questions related to the topics mentioned?
- Third person game unity
- Third person writing
- First second and third person
- First person vs third person writing
- Ich du er sie es wir ihr sie
- Person person = new person()
- Backward caries definition
- Gj mount classification
- Clue words for point of view
- Third-person effect examples
- Third person omniscient
- Maniac magee plot diagram
- First person vs second person
- Whats 3rd person limited
- Third person example