Dino material
This commit is contained in:
parent
eb2cd95a09
commit
d4ffb15583
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://Enemies/Dino.gd" type="Script" id=1]
|
||||
|
||||
@ -19,6 +19,10 @@ surfaces/0 = {
|
||||
"vertex_count": 2324
|
||||
}
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=5]
|
||||
albedo_color = Color( 0.443137, 0.47451, 0.282353, 1 )
|
||||
roughness = 0.75
|
||||
|
||||
[sub_resource type="CapsuleShape" id=3]
|
||||
radius = 1.61282
|
||||
height = 2.07838
|
||||
@ -35,9 +39,9 @@ transform = Transform( 1, 0, 0, 0, -5.96046e-08, 1, 0, -1, -5.96046e-08, 0, 8, 0
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="Plane" type="MeshInstance" parent="."]
|
||||
transform = Transform( -2.62268e-07, 6, -2.62268e-07, 0, -2.62268e-07, -6, -6, -2.62268e-07, 1.14641e-14, 0, 7, -1.19209e-07 )
|
||||
transform = Transform( -2.62268e-07, 8, -2.62268e-07, 0, -3.49691e-07, -6, -6, -3.49691e-07, 1.14641e-14, 0, 7, -1.19209e-07 )
|
||||
mesh = SubResource( 2 )
|
||||
material/0 = null
|
||||
material/0 = SubResource( 5 )
|
||||
|
||||
[node name="CollisionShape2" type="CollisionShape" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.76837e-07, 13.5719, -6 )
|
||||
|
@ -10,14 +10,14 @@ export(NodePath) var interact_area_nodepath
|
||||
# const
|
||||
const GRAVITY = -24.8
|
||||
const JUMP_SPEED = 8
|
||||
const MOVE_SPEED = 6
|
||||
const SPRINT_SPEED = 10
|
||||
const MOVE_SPEED = 8
|
||||
const SPRINT_SPEED = 12
|
||||
const ACCEL = 15.0
|
||||
const MAX_SLOPE_ANGLE = 40
|
||||
const MOUSE_SENSITIVITY = 0.05
|
||||
const INTERACT_DISTANCE = 4
|
||||
const SPRINT_DEC = 0.015;
|
||||
const SPRINT_ACC = 0.0015;
|
||||
const SPRINT_DEC = 0.01;
|
||||
const SPRINT_ACC = 0.005;
|
||||
|
||||
# private members
|
||||
var _body: Spatial
|
||||
|
Loading…
x
Reference in New Issue
Block a user