#what is the best way to spherecast in 500 directions at once at 30hz?

1 messages · Page 1 of 1 (latest)

vital viper
#

Why do you need 500 spherecasts at 30hz

crisp slate
#

Beat me to asking

nova cypress
#

jesus christ 500 spherecasts

#

why not just for each all directions into one spherecast?

stuck vale
#

I’m sure there’s a better way however lack of sleep prevents me from thinking of it

nova cypress
#

oh

covert trail
#

I don't know why you need 500 individual sphere casts

#

😭

nova cypress
#

.

#

thats what they aere trying to d atleast

covert trail
#

That's dumb. You don't need 500 😭

nova cypress
#

for advanced escape directions i guess

#

LORD JESUS

#

never thought id see a ball of vector gadgets

stuck vale
#

That’s horrific

nova cypress
#

you cant 'for' it either?

crisp slate
stuck vale
#

I’m sure you could cut that way way down to maybe a couple of directions

nova cypress
#

also, why would you need it in the y direction? just keep it in the x and z axis to make it easier

stuck vale
#

Also you could just raycast forward and check the surface normal and do some math from there

dusk sierra
#

How do you need that many directions for object avoidance, also you don’t need all those vectors to get the directions

nova cypress
stuck vale
#

I accidentally stumbled onto my current AI from a ground vehicle system

nova cypress
#

Oh

crisp slate
#

Didn’t cryptic make one a bit back

covert trail
#

Good lord

stuck vale
#

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

dusk sierra
#

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?

vital viper
#

Why not just spherecast to where you want the ai to move, and check if it hits anything

dusk sierra
#

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

night burrow
#

have you considered Overlap Sphere?

stable dust
#

that’s enough discord for today