Files
kicking-high/proto3/godot/scenes/weapons/projectile.tscn
2020-04-13 12:45:25 +03:00

37 lines
873 B
Plaintext

[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 )