Supported Unity version : 2022.3.19f1
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!
You need to install Unity engine.
- Download (green "Code" button, then "Download ZIP") or clone this github repository
- Launch Unity Hub. Click on the Add button, select the unzipped/extracted download, then click the Open option.
- The project should be loaded and upon opening may prompt you to install the supported version of unity or upgrade (at your own risk).
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
- 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!)
The Unity-FirstPersonInteractionToolkit is licensed under the MPL 2.0.