Browse Source

Prevent wall from being used to block objective

This prevents hero 1 from permanently setting the objective to one side,
making them very OP and the game un-fun.

Any object with collision mask=2 will no longer collide with the
objective.
master
Luna 7 years ago
parent
commit
fb47fc5c64
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      scenes/objective.tscn
  2. +1
    -1
      scenes/wall.tscn

+ 1
- 1
scenes/objective.tscn View File

@ -25,7 +25,7 @@ height = 14.0
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
collision_mask = 2
mode = 0
mass = 1000.0
friction = 1.0


+ 1
- 1
scenes/wall.tscn View File

@ -16,7 +16,7 @@ extents = Vector3( 1, 1, 0.1 )
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
collision_mask = 2
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )


Loading…
Cancel
Save