fix bad references
This commit is contained in:
+3
-3
@@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://bn777gguclud5" path="res://player.gd" id="1_xhfnw"]
|
||||
[ext_resource type="Script" path="res://camera_iso.gd" id="2_camera_iso"]
|
||||
[ext_resource type="PackedScene" uid="uid://qy6qrxdfgx2g" path="res://Assets/bull_v10.fbx" id="4_e80uo"]
|
||||
[ext_resource type="PackedScene" uid="uid://bun14xmk20pcj" path="res://Assets/bull.fbx" id="4_e80uo"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_chest"]
|
||||
radius = 0.35
|
||||
@@ -32,8 +32,8 @@ shape = SubResource("SphereShape3D_hips")
|
||||
[node name="Camera3D" type="Camera3D" parent="." unique_id=1120161087]
|
||||
script = ExtResource("2_camera_iso")
|
||||
|
||||
[node name="bull_v10" parent="." unique_id=1386495166 instance=ExtResource("4_e80uo")]
|
||||
[node name="bull" parent="." unique_id=1386495166 instance=ExtResource("4_e80uo")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.655, 0.23)
|
||||
|
||||
[editable path="bull_v10"]
|
||||
[editable path="bull"]
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ func setup(player: CharacterBody3D, bull: Node3D) -> void:
|
||||
_bull = bull
|
||||
_skeleton = _find_skeleton(bull)
|
||||
if not _skeleton:
|
||||
push_error("BullLegs: Skeleton3D not found under bull_v10")
|
||||
push_error("BullLegs: Skeleton3D not found under bull")
|
||||
return
|
||||
|
||||
# Disable any physical bone simulator
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
extends CharacterBody3D
|
||||
|
||||
# Hoof positions in bull_v10 local space — dust emitter offsets
|
||||
# Hoof positions in bull local space — dust emitter offsets
|
||||
const HOOF_OFFSETS: Array = [
|
||||
Vector3(-0.30, -0.25, -0.50),
|
||||
Vector3( 0.30, -0.25, -0.50),
|
||||
@@ -9,7 +9,7 @@ const HOOF_OFFSETS: Array = [
|
||||
]
|
||||
|
||||
@onready var camera_pivot: Node3D = $Camera3D
|
||||
@onready var cube_guy: Node3D = $bull_v10
|
||||
@onready var cube_guy: Node3D = $bull
|
||||
|
||||
var _hoof_emitters: Array[CPUParticles3D] = []
|
||||
var _legs: Node
|
||||
|
||||
+1
-1
@@ -360,7 +360,7 @@ transform = Transform3D(0.97025216, 0, 0.24209678, 0, 1, 0, -0.24209678, 0, 0.97
|
||||
environment = SubResource("Environment_73fnb")
|
||||
|
||||
[editable path="Player"]
|
||||
[editable path="Player/bull_v10"]
|
||||
[editable path="Player/bull"]
|
||||
[editable path="Node3D/arena_placeholder_v01"]
|
||||
[editable path="PublikNode/publikum2/mees_plaksutab"]
|
||||
[editable path="PublikNode/publikum2/mees_plaksutab2"]
|
||||
|
||||
Reference in New Issue
Block a user