Simple Movement Kit and Animation Helper

FREE
Publisher RiverExplorer™ Games LLC
File size 3.73MB
Number of files 33
Latest version 1
Latest release date 2024-10-21 07:53:15
First release date 2024-10-21 07:53:16
Supported Unity versions 2018.4.2 or higher

The dependencies are only needed for the demo.


Install the new unity input system. Then install this package.

The documention is online and a sample scene is included. Drop this asset onto the local player and the character moves, jumps, and more. Drop the AnimationHelper on the local player, or NPC to help automate them.


There are 51 delegates defined, such as OnJump, OnIsRunning, OnIsRunningBack, OnStrafeRight (and Left), OnIsWalking, .. to aid in animating the main character.


Just drop PlayerControl.cs onto your main player, tweak the settings you need. And then you can optionally use any of the 52 delegates to have the script tell you when the player is jumping, moving (and which direction), colliding. Helps you concentrate on you game, it tells you the general direction and action of the player.


Online overview of the PlayerController inspector window:

https://youtu.be/jdxZESxVaSw


And the AnimationHelper inspection window:

https://youtu.be/ppC8oeASidM


Included with the package are links to 2 more videos that talk about the script details.


Online script documentation: https://riverexplorer.games/Documentation/Unity/Assets/PlayerControl


To use the 'TinyDemo' , you will have to load 3 free packages that are listed in the documentation.


Includes a PlayerInputActions.inputactions that you can edit. It has been tested with keyboard, mouse, Xbox controller, and Oculus headset.


Works with:

  • PC
  • PC-VR
  • Oculus
  • WebGL (Requies that player->Other Settings->Active Input Handling be set to both, as WebGL does not fully support the new unity input system).

Drag it onto your player object and the controls just work.

Has a full set of delegate objects to be called to aid with automation, movement, collision, and triggers.


NOTE: This is my first asset store release, and I am anxious to fix any issues you find. I have plans to expand this.