edbeeching's picture
edbeeching HF staff
Upload folder using huggingface_hub
6f76182 verified
raw
history blame
No virus
300 Bytes
extends GPUParticles3D
class_name Thruster
var thruster_strength: float
@onready var material: ParticleProcessMaterial = process_material
func set_thruster_strength(strength: float):
material.initial_velocity_min = 0.022 * strength + 0.015
material.initial_velocity_max = 0.1 * strength + 0.015