Hard
Hard

Reputation: 21

How to detect if 90% of body collide in Godot 2d

I want to change position of player which is rotating when it is 90% collide with door

Upvotes: 1

Views: 181

Answers (1)

trien
trien

Reputation: 11

You can simply use distance_to() or distance_squared_to() and get the position between object a and the area position

Upvotes: 1

Related Questions