Raycast floor cast on layer 6 as well
This commit is contained in:
parent
5d7b140ba1
commit
c088a04156
@ -116,7 +116,7 @@ impl<T: IPlayer + ICharacterBody3D + WithBaseField> PlayerCommon for T {
|
||||
self.base().get_global_position() + Vector3::DOWN,
|
||||
&self.base().get_world_3d(),
|
||||
&Array::new(),
|
||||
Some(0b100),
|
||||
Some(0b100100),
|
||||
) && let Ok(footstep_box) = result.collider.try_cast::<FootstepBox>()
|
||||
{
|
||||
self.set_walk_kind(footstep_box.bind().kind);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user