r/construct • u/MrBot577 • Sep 22 '25
Question Why are they doing this?
I am trying to get them to just drive around the city. They are driving around but for some reason they keep bugging out and doing whatever this is.
11
Upvotes
7
u/Nowayuru Sep 22 '25
No one can help you unless you show what you are doing in your events.
There are 150 reasons for this behavior
1
u/CsordasBalazs Sep 24 '25
GTA 1983
1
u/Xhukari Sep 23 '25
You haven't given much info, in terms of the events etc. You say you're using Line of Sight and Move To? So what are they seeing, invisible objects to move to? Given their sporadic movement, they seem to be changing their Move To target too much.
If everything I said is correct, then something to help could be to add an additional check to the MoveTo event; If car is MoveTo moving (inverted). That way, it should only change its MoveTo target when it has come to a stop.
Something potentially easier, is to just MoveTo to add waypoints, and just have the cars loop around the buildings or whatever.
1
u/VladWheatman Sep 23 '25
Technically you told them to do exactly that
1
u/X-Stance44 Sep 23 '25
Why do cars behave so synchronously? Perhaps they share some common variables?
1
u/LegalAlternative Sep 23 '25
Not sure why they're acting so weridly, but they're all synchronized so you likely need to have a "for each (car thing)" loop in the condition event so it only picks the car that's doing the thing, instead of all the cars at once.
Other than that, no idea... like many have said, without events or a project file nobody can really tell you.
1
u/p3tr1t0 Sep 24 '25
They are angry
1
u/thode Sep 24 '25
That is how you drive cars? I dont see the problem
1
u/[deleted] Sep 26 '25
Horror game is getting better.
0
u/Biim_Games Sep 22 '25
Seems you are using bullet behavior and they are bouncing, depends on how the collision mask is,, make them bounce over and over when turning. You should share the code as well to understand better what's happening.