Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: DeRobbe on September 23, 2014, 04:08:43 PM
-
Hello,
i have two Sprites (a Thief and the Field of View of the Camera [the yellow light]) - i would get an event if the Camera see the Thief. The Camera and the Thief is moving.
Also i need a collision detection. But it the Playmaker 2D Collision dont work by me without Rigidbody. And with Rigidbody kick the light the Thief away.
With Trigger it donst always work.
(http://static.allmystery.de/upics/c42c4a_Unbenannt-1.png)
Please help how i can fix it.
Thanks!
-
hi
have you tried raycasting?
http://unity3d.com/learn/tutorials/modules/beginner/physics/raycasting
cheers
Paul
-
@elusive52
Hi,
Thanks for your Tip - i try it out.
-
@elusive52
Hi,
yes it works - thank you!
-
you're most welcome!