#what is the best way to spherecast in 500 directions at once at 30hz?
1 messages · Page 1 of 1 (latest)
Beat me to asking
jesus christ 500 spherecasts
why not just for each all directions into one spherecast?
I’m sure there’s a better way however lack of sleep prevents me from thinking of it
oh
That's dumb. You don't need 500 😭
for advanced escape directions i guess
LORD JESUS
never thought id see a ball of vector gadgets
That’s horrific
you cant 'for' it either?
Agreed
I’m sure you could cut that way way down to maybe a couple of directions
also, why would you need it in the y direction? just keep it in the x and z axis to make it easier
Also you could just raycast forward and check the surface normal and do some math from there
How do you need that many directions for object avoidance, also you don’t need all those vectors to get the directions
ive tried ai doing that and i still struggle 💀
I accidentally stumbled onto my current AI from a ground vehicle system
Oh
Didn’t cryptic make one a bit back
Good lord
That won’t cut it for an AI especially for a arial one
Ray cast to the target and check if there’s anything in the way
Huh, you’re setting the rotation for these vector gadgets, which means you already have the directions before you even spawn and set their rotation, so why use the vector gadgets at all?
Why not just spherecast to where you want the ai to move, and check if it hits anything
I think they’re trying to determine the best new direction after a hit has been detected while trying to move towards the target
But not sure
have you considered Overlap Sphere?
that’s enough discord for today