I wonder if anyone has some experience with the Physics object and know how to make a physics objects move toward a target?
I have made an example where I have a physics object (a circle) and I can apply velocity in 4 different directions so the object moves, but I would like to make it so it always applies velocity in the angle of the target (the cross) so it moves toward it. Also I forgot how to set the collision on the object so it collides with the physics obstacle? (the gray rectangle) I think you should not use a regular overlap event if I remember correctly when it comes to physics?
Optimally I would like to make it so the circle always moves toward the target but can collide with the obstacle, though if it does collide with the obstacle it would be nice if it keeps pushing against the obstacle and have enough (or lack of) friction so it will glide along the obstacle toward the target instead. I think this will make sense in the mfa since I have placed the target so that if the object would apply some force toward the target it would hit the wall and then continue to glide toward the wall to the opening that finally lets it get to the target.
Anyone have more experience with this and the physics object that know how to make this happen?