~kmdodrill/my-brother-lives-in-a-canyon

ref: f538cfb8260bc4ff104ba115a091cb58ea0717ad my-brother-lives-in-a-canyon/assets/final_models/rock-lod.tscn -rw-r--r-- 532 bytes
f538cfb8 — Kenneth Dodrill Add final models back 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[gd_scene load_steps=4 format=2]

[ext_resource path="res://addons/lod/lod_spatial.gd" type="Script" id=1]
[ext_resource path="res://assets/final_models/rock-with-collisions.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/final_models/rock-low.tscn" type="PackedScene" id=3]

[node name="rock-lod" type="Spatial"]
script = ExtResource( 1 )
lod_0_max_distance = 30.0
lod_1_max_distance = 80.0

[node name="rock-lod0" parent="." instance=ExtResource( 2 )]

[node name="rock-lod1" parent="." instance=ExtResource( 3 )]