Playmaker Forum

PlayMaker News => General Discussion => Topic started by: Khoa1994 on July 19, 2014, 11:16:45 AM

Title: raycast through multiple targets
Post by: Khoa1994 on July 19, 2014, 11:16:45 AM
Is there a way to shoot a raycast through multiple objects and store all the hit objects in an array? I want to make a gun that can shoot through multiple enemies.
Title: Re: raycast through multiple targets
Post by: Dev_Sebas on July 19, 2014, 08:14:39 PM
Use ray cast all action and store them on array list.
Title: Re: raycast through multiple targets
Post by: Khoa1994 on July 20, 2014, 02:17:08 AM
Thanks. I found the link to the "GetNextRaycastAllHit" action: http://hutonggames.com/playmakerforum/index.php?topic=1255.0
Title: Re: raycast through multiple targets
Post by: Khoa1994 on July 20, 2014, 03:00:33 PM
Is there a "GetNextRaycastAllHitFromScreen" ? I want to raycast from a touch screen and really need this action.
Title: Re: raycast through multiple targets
Post by: jeanfabre on July 29, 2014, 08:05:58 AM
Hi,

 It's on the ecosystem now :)

http://hutonggames.com/playmakerforum/index.php?topic=1255.msg38219#msg38219

 Bye,

 Jean