PlayMaker Help & Tips > PlayMaker Help

How to prevent objects from penetrating walls

(1/1)

ZhayaGT:
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:
//www.youtube.com/watch?v=XMs_eAGI_gE

Navigation

[0] Message Index

Go to full version