HeadBobSettings.groundLayers

Property in HeadBobSettings

Declaration

public LayerMask groundLayers

Description

The layer(s) to raycast against when checking if the character is grounded. Raycasting is only performed for rigidbodies since character controllers have a built-in isGrounded property.