?????????
This commit is contained in:
@@ -51,7 +51,6 @@ public partial class Character : CharacterBody3D
|
||||
var inputDir = Input.GetVector(OwnerPlayer.PlayerInput.Left(), OwnerPlayer.PlayerInput.Right(), OwnerPlayer.PlayerInput.Up(), OwnerPlayer.PlayerInput.Down());
|
||||
var direction = (Transform.Basis * new Vector3(inputDir.X, 0, inputDir.Y)).Normalized();
|
||||
direction = new Vector3(direction.X, 0, direction.Z);
|
||||
|
||||
if (direction != Vector3.Zero)
|
||||
{
|
||||
velocity.X = direction.X * _speed;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_b4i03"]
|
||||
radius = 0.507139
|
||||
height = 1.43196
|
||||
height = 4.172
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ru85r"]
|
||||
resource_name = "Material.006"
|
||||
@@ -601,13 +601,13 @@ _surfaces = [{
|
||||
blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_6hsc0")
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_bc4md"]
|
||||
radius = 0.325453
|
||||
height = 1.43196
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wx62l"]
|
||||
height = 3.826
|
||||
radius = 0.25
|
||||
|
||||
[node name="Sagittarius" type="CharacterBody3D" groups=["Player"]]
|
||||
transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0)
|
||||
collision_layer = 9
|
||||
transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0.559088, 0)
|
||||
collision_layer = 25
|
||||
motion_mode = 1
|
||||
wall_min_slide_angle = 3.14159
|
||||
script = ExtResource("1_s1hsr")
|
||||
@@ -632,4 +632,6 @@ skeleton = NodePath("")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.125003, 0.637504, 0.112771)
|
||||
shape = SubResource("CapsuleShape3D_bc4md")
|
||||
shape = SubResource("CylinderShape3D_wx62l")
|
||||
|
||||
[connection signal="body_entered" from="Pivot/Area3D" to="." method="OnHit"]
|
||||
|
||||
Reference in New Issue
Block a user