20 lines
618 B
GDScript3
20 lines
618 B
GDScript3
extends SpatialMaterial
|
|
class_name ErosionMaterial
|
|
# Declare member variables here. Examples:
|
|
# var a = 2
|
|
# var b = "text"
|
|
|
|
export var abrasion_resistance = 0 # "hardness" of the material, lessens how much material is chipped off during abrasion
|
|
export var weight_m3 = 1000 # pure water at 4.0°C; affects diffusion (or is supposed to, at least)
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
#func _ready():
|
|
# pass # Replace with function body.
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
#func _process(delta):
|
|
# pass
|
|
|
|
|
|
#class Water extends ErosionMaterial:
|
|
# pass |