soundgnome
What lines of code would I need?
I read all of the doc, yet it only mentioned the properties, not how to utilize them.
I tried tweaking the code provided in the doc, but I couldn't formulate a way to detect a collision layer.
func _physics_process(delta):
var collision_info = move_and_collide(velocity * delta)
if collision_info:
var collision_point = collision_info.position
How would I modify this code to make it detect when I collide with a specific layer.
Is there anything else I should be trying?