Try the following link: https://nrsharip.github.io/unity-space-kit/
This is a sandbox project to try out different features of Unity while developing some game play with the Space Kit, Survival Kit, Nature Kit and Weapon Pack assets.
Also see Rigifying and Animation repository for the Space Kit characters.
Supply the animator as needed: e.g. astronautA.controller
FBX model:
- Go to Animations -> Choose an animation -> Events -> add the events needed
Player Game Object:
- Add 'Empty' called PlayerCameraRoot (adjust transform as needed)
- Make sure the Layer is other than "Default", so
ThirdPersonController.cs : GroundedCheck()
sphere wouldn't constantly collide with it. - Add Audio Files to Landing Audio Clip and Footstep Audio Clips
PlayerFollowCamera Game Object:
- Set 'Follow' to PlayerCameraRoot
Third Pesron Controller (Script)
- Set 'Ground Layers' to Default so
ThirdPersonController.cs : GroundedCheck()
will set the correct LayerMask - Set 'Cinemachine Camera Target' to PlayerCameraRoot
In StarterAssetsInputs.cs and ThirdPersonController.cs:
- Comment
#if ... // && STARTER_ASSETS_PACKAGES_CHECKED