playMaker

Author Topic: How to prevent objects from penetrating walls  (Read 329 times)

ZhayaGT

  • Playmaker Newbie
  • *
  • Posts: 1
How to prevent objects from penetrating walls
« on: March 20, 2024, 10:36:17 PM »
Hello guys, I just tried to use Playmaker ;D, so I created a state where a 2D object would follow the cursor, but I encountered a problem where the object following the mouse could penetrate the wall object if forced.

Does anyone know how to prevent objects from penetrating a wall object? Even though I have added an object collider to the wall and a rigibody to the object cursor, it still penetrates the wall

Here's a video to illustrate the problem: