Initial godot setup with billboarding experiment.

This commit is contained in:
Henry 2026-05-08 14:34:48 +01:00
commit d0c9fe4fc0
13 changed files with 182 additions and 0 deletions

37
world.tscn Normal file
View file

@ -0,0 +1,37 @@
[gd_scene format=3 uid="uid://bnv1xxgceqbrc"]
[ext_resource type="PackedScene" uid="uid://dowvqakiqkvk5" path="res://camera_3d.tscn" id="1_f3sb7"]
[ext_resource type="Texture2D" uid="uid://btgh55yxpq1tq" path="res://images/henry_wave_still.png" id="2_fj7yv"]
[sub_resource type="PlaneMesh" id="PlaneMesh_tlwt5"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_tlwt5"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_aqk2v"]
[node name="World" type="Node3D" unique_id=831374579]
[node name="Camera3D" parent="." unique_id=691202574 instance=ExtResource("1_f3sb7")]
transform = Transform3D(0.033800576, 0, 0.99942863, 0, 1, 0, -0.99942863, 0, 0.033800576, 1.3208365, 0.92046463, 0)
fov = 72.2
[node name="Ground" type="MeshInstance3D" parent="." unique_id=2142800495]
transform = Transform3D(4.502052, 0, 0, 0, 1.2009083, 0, 0, 0, 2.6638024, 0, 0, 0)
mesh = SubResource("PlaneMesh_tlwt5")
[node name="Sprite3D" type="Sprite3D" parent="." unique_id=131556752]
transform = Transform3D(-9.616505e-08, 0, -0.99999994, 0, 2.2, 0, 2.2, 0, -4.3711385e-08, -1.7076116, 0.76404345, 1.2956717)
billboard = 1
double_sided = false
texture_filter = 0
texture = ExtResource("2_fj7yv")
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=133407620]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4)
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D" unique_id=996721213]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.7, 1.0478041, 3.8988447)
mesh = SubResource("CapsuleMesh_tlwt5")
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=1517735028]
shape = SubResource("CapsuleShape3D_aqk2v")