Translated Player Scripts from GDScript to C#
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dbd1niu3tp8y5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cp4snd0amnhfu" path="res://scripts/CSharp/Common/Player3D.cs" id="1_3trg2"]
|
||||
[ext_resource type="Texture2D" uid="uid://cvn2p215jq2am" path="res://graphics/mockups/concerned.png" id="1_5jpx2"]
|
||||
[ext_resource type="Script" uid="uid://dke381v8tafqn" path="res://scripts/GdScript/player_3d.gd" id="1_08wm4"]
|
||||
[ext_resource type="Script" uid="uid://c81bn1w8o0n2n" path="res://scripts/CSharp/Common/CameraPivot.cs" id="3_3trg2"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_1vdrh"]
|
||||
@@ -10,11 +10,11 @@ height = 0.234557
|
||||
|
||||
[node name="Player3d" type="Node3D"]
|
||||
|
||||
[node name="CharacterBody3D" type="CharacterBody3D" parent="."]
|
||||
[node name="CharacterBody3D" type="CharacterBody3D" parent="." node_paths=PackedStringArray("_camera")]
|
||||
collision_layer = 16
|
||||
collision_mask = 17
|
||||
script = ExtResource("1_08wm4")
|
||||
SPEED = 0.5
|
||||
script = ExtResource("1_3trg2")
|
||||
_camera = NodePath("CameraPivot/SubPivot/Camera3D")
|
||||
|
||||
[node name="Sprite" type="Sprite3D" parent="CharacterBody3D"]
|
||||
transform = Transform3D(0.04, 0, 0, 0, 0.04, 0, 0, 0, 0.04, 0, 0.110813, 0)
|
||||
|
||||
Reference in New Issue
Block a user