pandemonium_demo_projects/3d/rigidbody_character/cube_rigidbody.tscn

26 lines
682 B
Plaintext
Raw Normal View History

[gd_scene load_steps=5 format=2]
[ext_resource path="res://models/white_wood.png" type="Texture" id=1]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.5, 0.5, 0.5 )
[sub_resource type="SpatialMaterial" id=3]
resource_name = "Material"
albedo_color = Color( 0.917647, 0.384314, 0.0823529, 1 )
albedo_texture = ExtResource( 1 )
roughness = 0.75
[sub_resource type="CubeMesh" id=2]
material = SubResource( 3 )
size = Vector3( 1, 1, 1 )
[node name="cube_rigidbody" type="RigidBody"]
[node name="CollisionShape" type="CollisionShape" parent="."]
shape = SubResource( 1 )
[node name="MeshInstance" type="MeshInstance" parent="."]
mesh = SubResource( 2 )
material/0 = null