GodotComponentTest/entities/rockC.tscn

33 lines
980 B
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/KenneySurvivalKit/Models/rockC.glb" type="PackedScene" id=1]
[ext_resource path="res://materials/debug/RockPhysicsGeometry.tres" type="Material" id=2]
[sub_resource type="CylinderShape" id=1]
height = 0.8
radius = 0.4
[sub_resource type="CylinderMesh" id=3]
material = ExtResource( 2 )
top_radius = 0.4
bottom_radius = 0.4
height = 0.8
[node name="rockC" type="StaticBody"]
input_ray_pickable = false
[node name="Geometry" parent="." groups=["GameGeometry"] instance=ExtResource( 1 )]
transform = Transform( 1.7, 0, 0, 0, 1.7, 0, 0, 0, 1.7, 0, 0, 0 )
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.4, 0 )
shape = SubResource( 1 )
__meta__ = {
"_editor_description_": "Rock World Collision Shape
"
}
[node name="MeshInstance" type="MeshInstance" parent="CollisionShape" groups=["PhysicsGeometry"]]
visible = false
mesh = SubResource( 3 )