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:
Download the
Ecosystem Browser
to find new actions, samples. etc.
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
A good way to get results from one of multiple raycasts?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: A good way to get results from one of multiple raycasts? (Read 605 times)
Mupp
Full Member
Posts: 167
A good way to get results from one of multiple raycasts?
«
on:
September 14, 2021, 07:57:43 PM »
I'm looking for a way to get all results from one of multiple raycasts. If a condition is met, like shortest hit distance for example, I want to get the rest of the results from that specific raycast.
Is there a good way to do this?
Logged
djaydino
Administrator
Hero Member
Posts: 7615
Re: A good way to get results from one of multiple raycasts?
«
Reply #1 on:
September 15, 2021, 08:26:40 AM »
Hi.
Probably store data from each raycast into arrays then check distance array to get shortest.
then use that index to get the other data.
Logged
Join the PlayMaker Discord Channel!
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
A good way to get results from one of multiple raycasts?