Skip to content

stevenharmongames/Unity-FirstPersonInteractionToolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supported Unity version : 2022.3.19f1

Unity-First Person Interaction Toolkit

overview gif

The Unity-FirstPersonInteractionToolkit is a template project for first person adventure games made with love for free use. The project contains an advanced first person character controller and a variety of simple scripts for various interactions as well as some template art and sound assets for rapid level design prototyping. Please feel free to improve upon with a pull request and send whatever you make with it!

Prerequisites

You need to install Unity engine.

How to run

  1. Download (green "Code" button, then "Download ZIP") or clone this github repository
  2. Launch Unity Hub. Click on the Add button, select the unzipped/extracted download, then click the Open option.
  3. The project should be loaded and upon opening may prompt you to install the supported version of unity or upgrade (at your own risk).

Controls

Move the character with WASD on the keyboard. Use the mouse to rotate the camera. All of the interactions are done via mouse left or right click OR optionally E and Q keys. Hold left shift to run Toggle left ctrl to crouch Press Space bar to jump Press ESC to quit

Project Highlights

click to play demo video

  • Modular interaction system with dynamic UI crosshair / popup text anims / object highlight
  • Pickup, inspect (rotate), throw object, and return to original position
  • Physics based doors that can be open, closed, and locked
  • Ladder (half life 2 style based on look direction)
  • Elevator with buttons to call the lift up/down
  • Valve + Scifi Door (turnable wheel that controls 0<->1 value that can smoothly open doors or control other things)
  • Read note (UI popup)
  • Drawers open and closeable drawers that can hold physics objects
  • Light switch (toggleable)
  • Teleport triggers (walk in trigger area or place item, teleport to position without error / clipping through floor - height adjusted)
  • Trampoline (based on incoming velocity, applies opposite upward force to objects / characters)
  • Slide (no script, just weeeeeee!)

License

The Unity-FirstPersonInteractionToolkit is licensed under the MPL 2.0.

About

A free template project for first person adventure games in Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published