proto3 initial commit
This commit is contained in:
36
proto3/godot/scenes/weapons/projectile.tscn
Normal file
36
proto3/godot/scenes/weapons/projectile.tscn
Normal file
@@ -0,0 +1,36 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://scenes/weapons/projectile.gd" type="Script" id=1]
|
||||
|
||||
[sub_resource type="SphereShape" id=1]
|
||||
radius = 0.1
|
||||
|
||||
[sub_resource type="SphereMesh" id=2]
|
||||
radius = 0.1
|
||||
height = 0.2
|
||||
radial_segments = 8
|
||||
rings = 4
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=3]
|
||||
albedo_color = Color( 0.870588, 0.6, 0.6, 1 )
|
||||
emission_enabled = true
|
||||
emission = Color( 0.572549, 0.152941, 0.152941, 1 )
|
||||
emission_energy = 1.0
|
||||
emission_operator = 0
|
||||
emission_on_uv2 = false
|
||||
|
||||
[node name="projectile" type="RigidBody" groups=[
|
||||
"projectile",
|
||||
]]
|
||||
collision_layer = 16
|
||||
collision_mask = 31
|
||||
contacts_reported = 2
|
||||
contact_monitor = true
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="."]
|
||||
mesh = SubResource( 2 )
|
||||
material/0 = SubResource( 3 )
|
||||
Reference in New Issue
Block a user