mirror of
https://github.com/Relintai/regression-test-project.git
synced 2024-12-25 14:07:21 +01:00
Add GPUParticles
This commit is contained in:
parent
28a6b0b9f8
commit
b400871e6d
@ -62,6 +62,16 @@ func _ready():
|
|||||||
add_child(VisibilityEnabler3D.new())
|
add_child(VisibilityEnabler3D.new())
|
||||||
|
|
||||||
|
|
||||||
|
add_child(GPUParticlesAttractorBox.new())
|
||||||
|
add_child(GPUParticlesAttractorSphere.new())
|
||||||
|
add_child(GPUParticlesAttractorVectorField.new())
|
||||||
|
|
||||||
|
add_child(GPUParticlesCollisionBox.new())
|
||||||
|
add_child(GPUParticlesCollisionHeightField.new())
|
||||||
|
add_child(GPUParticlesCollisionSphere.new())
|
||||||
|
add_child(GPUParticlesCollisionSDF.new())
|
||||||
|
|
||||||
|
|
||||||
func _process(delta: float) -> void:
|
func _process(delta: float) -> void:
|
||||||
for i in get_children():
|
for i in get_children():
|
||||||
if i.get_name() != "Camera":
|
if i.get_name() != "Camera":
|
||||||
|
@ -2,8 +2,9 @@
|
|||||||
|
|
||||||
[ext_resource path="res://MainScenes/Spatial.gd" type="Script" id=1]
|
[ext_resource path="res://MainScenes/Spatial.gd" type="Script" id=1]
|
||||||
|
|
||||||
[node name="Spatial" type="Spatial"]
|
[node name="Spatial" type="Node3D"]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
[node name="Camera" type="Camera" parent="."]
|
[node name="Camera" type="Camera3D" parent="."]
|
||||||
transform = Transform( 1, 0, 0, 0, 0.690617, 0.72322, 0, -0.72322, 0.690617, 0, 3.77374, 5.42622 )
|
transform = Transform( 1, 0, 0, 0, 0.690617, 0.72322, 0, -0.72322, 0.690617, 0, 3.77374, 5.42622 )
|
||||||
|
script = null
|
||||||
|
Loading…
Reference in New Issue
Block a user