mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-18 08:43:47 +00:00
Debug moonjump and cirno's height adjustment
This commit is contained in:
parent
bdc93b93fa
commit
49867f849b
2 changed files with 12 additions and 4 deletions
|
|
@ -39,8 +39,8 @@
|
||||||
[ext_resource type="Texture2D" uid="uid://cf2855sd3hqty" path="res://Sprites/Actors/Aiming_Reticule_Small.png" id="34_chmen"]
|
[ext_resource type="Texture2D" uid="uid://cf2855sd3hqty" path="res://Sprites/Actors/Aiming_Reticule_Small.png" id="34_chmen"]
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_fg04g"]
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_fg04g"]
|
||||||
radius = 0.349554
|
radius = 0.342937
|
||||||
height = 0.811048
|
height = 0.685874
|
||||||
|
|
||||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2kukh"]
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2kukh"]
|
||||||
transparency = 1
|
transparency = 1
|
||||||
|
|
@ -270,8 +270,7 @@ hframes = 3
|
||||||
vframes = 4
|
vframes = 4
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.101789, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.047, 0)
|
||||||
visible = false
|
|
||||||
shape = SubResource("CapsuleShape3D_fg04g")
|
shape = SubResource("CapsuleShape3D_fg04g")
|
||||||
|
|
||||||
[node name="MovementModule" type="Node" parent="." node_paths=PackedStringArray("PlayerStorage", "_inputProvider", "HitboxSpriteProvider")]
|
[node name="MovementModule" type="Node" parent="." node_paths=PackedStringArray("PlayerStorage", "_inputProvider", "HitboxSpriteProvider")]
|
||||||
|
|
|
||||||
|
|
@ -105,8 +105,17 @@ public partial class IsoMovementModule : ModuleBase<PlayerState, CharacterBody3D
|
||||||
|
|
||||||
//frameVelocity.Y = velocityY;
|
//frameVelocity.Y = velocityY;
|
||||||
|
|
||||||
|
// Debug moonjump
|
||||||
|
if (Input.IsKeyLabelPressed(Key.Z))
|
||||||
|
{
|
||||||
|
//velocityY -= (float)(100 * delta);
|
||||||
|
velocityY = 10;
|
||||||
|
}
|
||||||
|
|
||||||
MainObject.Velocity = frameVelocity.ToVector3(velocityY);
|
MainObject.Velocity = frameVelocity.ToVector3(velocityY);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
MainObject.MoveAndSlide();
|
MainObject.MoveAndSlide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue