In this video, you will learn how to give your first-person player controller the ability to grab and throw objects.
Download the PlayerSimpleMove: https://hutonggames.com/downloads/tutorials/first-person-controller/player-simple-move.unitypackage
https://hutonggames.com/downloads/tutorials/first-person-controller/player-grab-and-throw.unitypackage
Sample package requirements:
Playmaker 1.9.1 or newer and Unity 2018.4 or newer + built-in render pipeline.
Timestamps
00:00 - Intro
00:12 - Important note
00:52 - Ways games implement grab and throw
01:18 - Starting the PlayerGrab FSM, setting up states
03:23 - Grab the item
08:35 - Drop or throw
11:15 - Dropping the item
12:23 - Throwing the item
12:51 - Understanding Local and World space
16:17 - Making items "grabbable"
Links:
First-Person Controller Tutorial: https://youtu.be/9BtAz62DoBc
Unity Input Manager tutorial: https://youtu.be/VAecooGfJgE
Synty Studios Polygon Prototype Pack: https://assetstore.unity.com/packages/3d/props/exterior/polygon-prototype-pack-137126
For more help visit:
Playmaker forums @ https://hutonggames.com/playmakerforum/index.php
Playmaker Discord @ https://discord.gg/9ZjUw9P
Find us on Twitter @HutongGames