Character - Layer Settings

Use the Layer Settings foldout to define which layers your character will interact with:

Each field is a LayerMask which defines a set of layers that are used by the controller. The following layer masks can be set: 

Setting

Description

Layer Mask

All layers that the collider can interact with must be included here.

 

The Geometry and Passthrough LayerMasks are always present here. You may want to add ladders or other special layers.

Geometry Layer Mask

Layers of any of your games solid geometry. That is to say the things your character can stand on and run in to.

Passthrough Layer Mask

Layers of any platforms that should be treated as passthrough platforms. Passthrough platforms can be stood on but not collided with from the side or bottom.

 

The following additional settings are only shown if your character has a Climb movement:

Setting Description
Detect Climbables by Tags

Should we use a tag or a layer to detect if something is climbable. Layer based detection is slightly faster and generally recommended.

Climbable Layer/Tag

If we are using layer based climbable detection this is the layer that the climbable belongs to.

If we are using tag based climbable detection this is the tag to check for.

The following additional settings are only shown if your character has a Wall movement:

Setting Description
Use All Walls If true then all walls will trigger the wall movement(s).
Detect Climbables by Tags

Should we use a tag or a layer to detect if something is a wall. Layer based detection is slightly faster but tag based detection can be easier to manage.

Climbable Layer/Tag

If we are using layer based wall detection this is the layer that walls belong to.

If we are using tag based wall detection this is the tag to check for.

 

Overlapping Layers

In general layers, other than passthrough layers, should not be overlapped. A collider on the climbable layer should not overlap a collider on a geometry layer. 

 

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk