triangle.tscn 654 B

1234567891011121314
  1. [gd_scene load_steps=3 format=3 uid="uid://dtjp7851cx0vf"]
  2. [ext_resource type="PackedScene" uid="uid://julmsb44217f" path="res://component/entity/props/triangle/SimpleTriangle.glb" id="1_6di7t"]
  3. [sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_xh6se"]
  4. points = PackedVector3Array(0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1)
  5. [node name="Triangle" type="StaticBody3D"]
  6. [node name="SimpleTriangle" parent="." instance=ExtResource("1_6di7t")]
  7. [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
  8. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0, -0.5)
  9. shape = SubResource("ConvexPolygonShape3D_xh6se")