Better lava
This commit is contained in:
parent
4f70414ed9
commit
d0d7899340
82 changed files with 1747 additions and 738 deletions
|
@ -76,7 +76,8 @@ func _physics_process(delta):
|
|||
modulate = Color8(0, 255, 150)
|
||||
proj.modulate = modulate
|
||||
|
||||
proj.velocity = (moveVector * 1500) + player.velocity
|
||||
proj.velocity = (moveVector * (1500 + player.velocity.dot(moveVector))) #+ (player.velocity.normalized() * player.velocity.dot(moveVector))
|
||||
print(player.velocity.dot(moveVector))
|
||||
#grappleDur = 10
|
||||
add_child(proj)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue