Character Viewer
Helps display a character in the Inventool window.
Last updated
Helps display a character in the Inventool window.
Last updated
The Character Viewer is a component that is required to view a character from the equipment section of the Inventool window. You can create one from GameObject > Inventool > Character Viewer
.
Cam
The camera that can only see the character. This camera should be the child of the Character Viewer and should never be the main camera.
The character viewer has a child which is a camera. This camera will need to be adjusted to work properly in your specific project.
First of all, add the Character Viewer to your scene by right-clicking in the hierarchy and navigating to Inventool > Character Viewer
.
Make the Character Viewer a child of your player character and center it on your character. This will ensure that the camera is always following the player. Generally, you will only need to adjust the Y position while the X and Z can remain at 0.
Position and rotate the Character Viewer's child camera so that it's facing the player character while keeping it just far enough so that the entire body of the player character is in view. Make sure to check what the camera sees. Also, try to center the camera on the player as much as possible. You may need to go back and adjust the parent (Step 2) if it doesn't feel centered. This is essentially trial and error until your model is centered correctly.
Adjust the culling mask of the character camera so that it can only see the player. The best way to do this is to create layer called Player and set it as the layer for your player character and set it as the only option in the 'Culling Mask' list on the character camera.
All done! Test and see if it works. You may need to make some position adjustments in case the rotation feels off (centering is the key!).