Cainos Asset Documentation
English
  • Home
English
  • OVERVIEW
  • SETUP GUIDE
  • CHARACTER SCRIPTS
  • CUSTOMIZATION
  • INTERACTABLE OBJECTS
  • MAKING YOUR OWN ANIMATIONS
  • LIGHTING SUPPOSRT
Powered by GitBook
On this page
  • Layer Collision Settings
  • Custom Sort Axis
  • Sorting Order Glitch When Using Multiple Character
  • Parts of the Character Not Visible When Using a Background
  • Skin Weights
  • Color Space

SETUP GUIDE

Last updated 24 days ago

Layer Collision Settings

To avoid the character colliding with its own weapon. Put the character and weapon into different layer and in the project’s Physics 2D settings, make sure these two layers do not collide.

You need to setup this by hand as project settings will not be imported with the asset pack.

In this case we put characters into Player layer and weapons into Player Weapon layer. Of course, this may vary based on your need.

All the character presets are variation prefabs of Cainos\Customizable Pixel Character\Prefab\PF Pixel Character. So for overall changes you only need to modify this one.

Custom Sort Axis

It is recommended that you set Transparency Sort Mode to Custom Axis and Transparency Sort Axis to (0,0,1) at the Graphics settings.

Sorting Order Glitch When Using Multiple Character

You may see some glitch when two characters are too close. It happens when the two characters take up the same z space. Give them different z position value will solve the problem. You can set the character’s z scale to a smaller value like 0.1 (but avoid setting it to 0.0), so that it takes up less z space.

Parts of the Character Not Visible When Using a Background

The background may be positioned at the same z-coordinate as the character, causing it to occlude parts of the model. Since the character is not a flat plane (it has 3D depth), overlapping z-positions can result in rendering conflicts.

Adjust the background’s position by moving it backward along the z-axis (assigning it a larger z-value). This ensures proper depth sorting, allowing the character to render fully in front of the background.

Skin Weights

For best animation quality, in Project Settings/Quality, Skin Weights should be set to at least 2 Bones.

Color Space

It is recommended to use Linear color space with this asset. You can find it in Project Settings/Player/Other Settings.