@@ -83,9 +83,9 @@ extends MultiMeshInstance3D
83
83
@export var interactive : bool = true : set = _on_set_interactive
84
84
@export_group ("Advanced" )
85
85
## Allows you to define how much the grass will react to objects on axis X and Z
86
- @export var interactive_level_xz : float = 3.0 : set = _on_set_instactive_level_xz
86
+ @export var interactive_level_xz : float = 3.0 : set = _on_set_interactive_level_xz
87
87
## Allows you to define how much the grass will react to objects on axis Y
88
- @export var interactive_level_y : float = 0.3 : set = _on_set_instactive_level_y
88
+ @export var interactive_level_y : float = 0.3 : set = _on_set_interactive_level_y
89
89
## Locks the scale node of SimpleGrassTextured to 1
90
90
@export var disable_node_scale := true : set = _on_set_disable_node_scale
91
91
## Disable the ability to rotate the SimpleGrassTextured node
@@ -225,8 +225,8 @@ func update_all_material():
225
225
_on_set_scale_var (scale_var )
226
226
_on_set_grass_strength (grass_strength )
227
227
_on_set_interactive (interactive )
228
- _on_set_instactive_level_xz (interactive_level_xz )
229
- _on_set_instactive_level_y (interactive_level_y )
228
+ _on_set_interactive_level_xz (interactive_level_xz )
229
+ _on_set_interactive_level_y (interactive_level_y )
230
230
_on_set_optimization_by_distance (optimization_by_distance )
231
231
_on_set_optimization_level (optimization_level )
232
232
_on_set_optimization_dist_min (optimization_dist_min )
@@ -764,13 +764,13 @@ func _on_set_interactive(value : bool):
764
764
_material .set_shader_parameter ("interactive_mode" , interactive )
765
765
766
766
767
- func _on_set_instactive_level_xz (value : float ):
767
+ func _on_set_interactive_level_xz (value : float ):
768
768
interactive_level_xz = value
769
769
if _material != null :
770
770
_material .set_shader_parameter ("interactive_level_xz" , interactive_level_xz )
771
771
772
772
773
- func _on_set_instactive_level_y (value : float ):
773
+ func _on_set_interactive_level_y (value : float ):
774
774
interactive_level_y = value
775
775
if _material != null :
776
776
_material .set_shader_parameter ("interactive_level_y" , interactive_level_y )
0 commit comments