This document explains how a Reallusion Character can be imported and used with the Convai Plugin.
Create / open a project in Unreal Engine and download the Reallusion auto setup for Unreal Engine from this link.
Download > install > Open a folder based on your Unreal Engine version.
Copy the Content and Plugins folder and paste them in your Unreal Engine project folder.
Restart your project and create a new folder (say ‘Kevin’) in your content browser.
Copy the .Fbx
file (named as the character) from the export to ‘Kevin’
in the content browser and the FBX Import Options menu will pop up.
Check the following options and click Import All :-
Use T0 As Ref Pose.
Import Morph Targets.
Create a new folder named Animations within the Kevin folder and import all the animation file (named ‘_motion’ at the end) from the exported file from Reallusion.
The FBX Import Options pop up again and Uncheck the Import Mesh and select your imported skeleton.
Under Animation > advanced
. Check the Use Default Sample Rate.
Click Import All.
Now install the Convai Plugin from Epic marketplace and restart the engine.
Edit > Plugins
.
Search for ‘Convai’
and enable it by clicking the checkbox and restart.
Create a new Blueprint Class within Kevin folder and under ALL CLASSES select ‘ConvaiBaseCharacter’.
Open up the blueprint. Components > add > Skeletal Mesh.
Under the details tab go to mesh > Skeletal Mesh
and select the imported mesh named Kevin form Reallusion.
To change the parent class of the player refer to this section.
Finally add the Character Id by selecting the Character (from Convai website) you just added and you can enjoy talking to your AI buddy.
This document explains how to create Reallusion Characters with Convai Plugin.
This document explains how to create a Reallusion character with Character Creator 4.
Steps to create a Reallusion Character using Character Creator 4: -
Use the Character Creation tool by Reallusion.
Create / use default a character present there and add animations of your choice.
(Here we have used an already existing character named ‘CC4 Kevin’ and have added the idle animation and walking animation.
Link for Youtube Tutorial.)
Export it in FBX
format.
File > Export > FBX > Clothed Character
Keep the following settings in Export FBX.
Target Tool Preset: - Unreal
FBX Options: - Mesh and Motion
Max Texture Size: - 4096 ( Choose the maximum available)
Frame Rate: - 30
Check the custom section. Click the Load Perform button.
Uncheck First Frame in bind pose.
Check Export Mesh and Motion individually.
Check Save One Motion per File.
Checking the Delete Hidden Faces option may avoid rendering issues.
Click Export.
This document explains how to bind objects to the Reallusion character and perform action with that object.
Go to Window > Place Actors >
Search NavMeshBoundsVolume
and drag it in the scene.
Click the character in the scene (in this case click the Reallusion character) and head to the Details
Panel.
Details > Default > Objects > Click Add Element
Now we need to select a reference for the object from the scene. Click on Pick Actor from Scene
.
Then select any object from the scene. We can also provide a name
and description
to the object in the scene. This will allow the player to interact with the objects.
Save and then hit play to test the character to perform certain actions related to the object present which you just added.