Browse Source

fixes/cleans up

-input now correctly works when using viewport scaling
-added function to get areas/bodies in given point
-added function to get space state directly from world
Juan Linietsky 10 years ago
parent
commit
e4f0291904
2 changed files with 0 additions and 4 deletions
  1. 0 4
      2d/area_input/input.gd
  2. BIN
      2d/area_input/input.scn

+ 0 - 4
2d/area_input/input.gd

@@ -1,10 +1,6 @@
 
 extends Area2D
 
-# member variables here, example:
-# var a=2
-# var b="textvar"
-
 #virtual from CollisionObject2D (also available as signal)
 func _input_event(viewport, event, shape_idx):
 	#convert event to local coordinates

BIN
2d/area_input/input.scn