fix: jumping and dashing on tilted floor was triggering mantle in bad locations
This commit is contained in:
@ -5,8 +5,7 @@
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4coqe"]
|
||||
height = 1.7
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_qu4wy"]
|
||||
height = 1.3
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_2oobp"]
|
||||
|
||||
[node name="MantleSystem" type="Node3D"]
|
||||
script = ExtResource("1_2oobp")
|
||||
@ -21,8 +20,8 @@ collision_mask = 2
|
||||
debug_shape_custom_color = Color(1, 0, 0, 1)
|
||||
|
||||
[node name="WallInFrontCast3D" type="ShapeCast3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.65, 0)
|
||||
shape = SubResource("CapsuleShape3D_qu4wy")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
shape = SubResource("SphereShape3D_2oobp")
|
||||
target_position = Vector3(0, 0, -1.5)
|
||||
max_results = 1
|
||||
collision_mask = 2
|
||||
|
Reference in New Issue
Block a user