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
This commit is contained in:
@ -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
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user