Rate this post

Interactor – Interaction Handler for IK

Interactor is designed to create interactions (in seconds) involving body movements with or without animation files. Most complete system to interact with objects or characters in any way you want.

Interactor

Description

Interactor is designed to cover all aspects of any kind of interaction, from the designing stage in the editor to handling complex interactions in runtime. It contains editor tools to simplify the process of preparing a fully interactable environment (See “Easy Workflow” section below). And in play mode, it handles which player parts (hands or feet) are going to interact with which parts of the interacted object, while using IK to animate player bones.

For the latest updates and discussions: Forum Thread Other Sources: Online Documentation | Support | Tutorial Videos

One Trigger to Rule Them All

You don’t need triggers for every interactable object. Moving triggers even cost more performance. You just need one trigger and that is on the player with Interactor. Interactor checks only the player’s trigger and those inside this trigger.

Fast & Easy Workflow

  • Set up Interactor for your character: 5 minutes
  • Create your own target prefabs (to spawn them on objects in SceneView): 1-2 minutes each
  • Create a new interaction and save it for later use as a preset: 1-5 minutes
  • Create a new interaction with the saved target and preset to make it ready to use with procedural animations: 2 seconds

How Does It Work?

Interactor

Set Your Player Parts

Which parts of the player can interact? Add an “effector” for each one of them and set their possible to interact angles and ranges precisely with custom-made unique gizmos. It’s a one-time setup just for the player, no need to set ranges and angles for every interaction object! Also no limitations for those, you can have a setup for 16 legged spider with each one of them having its own rules.

Design

Place targets on any object that you want to interact with. Placement is easy! Right-click on any object in SceneView to open the target selection menu. Select your desired player part and done. Target will be spawned as a child to the object. That object is now interactable.

Interact

When that object enters Interactor’s trigger, it will be checked by effectors for its type (left hand, etc.) and position. If the object has more than one target (a rock can be held by two hands for example) all targets get checked by only the same effector type (no unnecessary calculations). If they’re good to go, interaction can be started by player input.

Animate

Interactions can be achieved without any animations (like clicking on a distant object), with animation files, with procedural animations, or both for more precise & realistic movements. On the procedural part, IK comes into play.

Inverse Kinematics (IK)

IK handles chained bone rotations when you want to reach a point. So when you set your hand’s position & rotation to a new target, it calculates rotations for middle bones. Interactor uses Unity’s built-in IK and also has its own Two Bone IK solver. But if you have Final IK (which is a Full Body IK system), Interactor becomes even better because it is more capable to do creative stuff. Final IK version has separate files but Interactor can be switched to any IK system with just a click. It will automatically handle the removal of unnecessary scripts for you.

Also, Interactor is a great companion for the Unity Animation Rigging package (which is a bunch of new IK tools in development by Unity). It’s not integrated yet (because it is early) but you can still use it on your own.

Interaction Types & Examples

Interactor has built-in interactions and example scenes to showcase all of them. There are more than 15 interaction types and that library will expand (and half of them will improve) until Beta ends. It’s pretty easy to customize example scripts with even low knowledge (Send a message when needed help).

Also, every model is included and has 4K PBR textures (Interactor comes with 1K textures from Asset Store to make updates easier, you can download and import 4K texture pack separately). With additional bonus shaders!

Some of the other features

  • Interactor works fast & suitable for mobile.
  • Multiple Interactors in the same scene. Use it in your AI characters!
  • TwoBoneIK solver for non-humanoid rigs (FPS Arm rigs, creatures, monsters, etc)
  • You can use your own Player Controllers. And you don’t need a Rigidbody on your character.
  • A lot of freedom to create new interactions that involve body movement.
  • Highly customizable Look settings (OnSelection, Before, OnPause, After, or multiple selection modes). And also works with Interaction priorities.
  • Smooth interaction interruptions to change current interaction without resetting.
  • Self Interactions! Easily create procedural idle (or for something else) animations. They will play randomly with given odds for each. Set as many as you want with freedom of creativity.
  • Interactor script is fully commented
  • Full source code included (with bonus scripts & shaders)
  • Can be used for HDRP and URP, except the custom bonus shaders (Outline, etc). Other than that, Interactor will work just fine.
  • Example Scene and all interactions in it can change to Final IK version with integration button (Except the FPS scene, it only exists in InteractorIK).
  • Almost everything is cached to work faster, from all components to animation & material property hash ids. Not a single GetComponent() is called in runtime (except when really needed).
  • Tested for both look & functionality on all versions since 2019.1 and dark & regular Unity themes.
  • Solid support, just send a message for anything.

There is a lot more to tell about Interactor, if you are interested you can access Online Documentation. There are lots of explanations with diagrams, gifs, videos & stuff.

Render pipeline compatibility

The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.

Additional compatibility information

Interactor works normally for HDRP and URP. Only example scene materials and bonus shaders (Outline etc.) are not compatible. Proper example scene setups for these pipelines will be added until the v1.00 release.

Note:

This Packs is for educational purpose you can support developer by purchasing the code from Unity Asset Store. Also you can download other free unity asset from UNITY FREE ASSET & Free unity complete game from GAME CODE HUB.

Interactor

Leave a Comment

Buy All Source Code Only For 300$