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. This camera 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. This will ensure that the camera is always following the player.
Move and rotate the Character Viewer itself, not its child camera!
Position and rotate the Character Viewer so that its camera 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.
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!).