playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Register on the forums to download actions, updates, etc.
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker News
»
General Discussion
»
raycast through multiple targets
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: raycast through multiple targets (Read 3108 times)
Khoa1994
Playmaker Newbie
Posts: 33
raycast through multiple targets
«
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.
Logged
Dev_Sebas
1.2 Beta
Sr. Member
Posts: 398
Re: raycast through multiple targets
«
Reply #1 on:
July 19, 2014, 08:14:39 PM »
Use ray cast all action and store them on array list.
Logged
Blog
https://sebastiaodevblog.wordpress.com
YouTube
http://www.youtube.com/channel/UCZUkvZaWbKAfDTs6Hdi3UaQ
Khoa1994
Playmaker Newbie
Posts: 33
Re: raycast through multiple targets
«
Reply #2 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
Logged
Khoa1994
Playmaker Newbie
Posts: 33
Re: raycast through multiple targets
«
Reply #3 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.
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: raycast through multiple targets
«
Reply #4 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
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker News
»
General Discussion
»
raycast through multiple targets