Expiration Time: 2022-05-23T23:44:10.000
CONTRACT | NAME | AUTHORIZATION | DATA |
---|---|---|---|
discussionsx | notify | eosforumanon active |
metadata : {"type":"discussions3","actions":[{"id":"44714ca2-8c06-4867-a32a-125f0416c497","name":"post","community":"","content":" Oh yeahhhh raycasting, this will help me a ton with my main project too. extends RayCast2D onready var player = get_parent() func _physics_process(delta): \tif Input.is_action_pressed(\"RightClick\") and player.CanMine == true: \t\t \t\tif is_colliding(): \t\t\tvar asteroid = get_collider() \t\t\tif asteroid.has_method(\"AsteroidDetection\"): \t\t\t\tasteroid.call_deferred(\"AsteroidDetection\") |