I'm trying to make sticky physics objects, so that when they are thrown at a wall (staticbody), they will stay on that wall and start to slide down along it.
First, I need to know from which direction the wall is touching the physics object. Then I will apply a force (towards the wall) to the object so that it will stay against the wall and won't bounce off.
To get the direction, I need to know where the contact point or touch point is.
Also, I need the normal of the contact surface so that with enough force, and with a correct direction of the pull, the object can be pulled from the wall.
First, I need to know from which direction the wall is touching the physics object. Then I will apply a force (towards the wall) to the object so that it will stay against the wall and won't bounce off.
To get the direction, I need to know where the contact point or touch point is.
Also, I need the normal of the contact surface so that with enough force, and with a correct direction of the pull, the object can be pulled from the wall.
