hi, im new to blueprints so im just doing one of my usuall programming exercises (a boids implamentation). but im having issues with the sphere overlap actor.
before i invest too much time to a dead end want to know if there was a different way to do this or what i might be missing in what ive got so far?
the cpde seems to get to the for loop then never excecute the actual separation code.
i would upload the actual code but it wont let new users do it ?
thanks
Why are you adding 1 to Y every tick? ( just wondering )
What is this calculation for?
I think normalizing it will basically put you at the origin every tick.
i was addig 1 to it as a way to move the boids forwards as a fish or bird to alway move forwards.
Ok. And the other computation?
the normalising is a step of the separation needed for flocking behavior theres also avoidance and cohetion but i havent got to that yet. to do the separationi need to loop through every other biod within the overlap sphere and then minus their locations from the boid doin ghte cal and normalise it to get the vector away from the other boids
Well, it might be something like that, but you’re still basically forcing all the actors to 0,0,0 ( approximately ) 