Hi, I'm trying to make a wall that players can't cross but AIs can by using FilteringEnabled. So first I set the wall as Un-cancollide in Studio, then in a local script, I set the wall's CanCollide property to true. However, both the Ais and the players are unable to walk through the wall. Is this because AI movements are calculated by the players just like how physics of parts are handled by the nearest player? If so, how can I make a wall that only AIs can move through?

3 comments

0

Are you moving the AI on the server?

0

yes, use setnetworkowner to nil and it will probably work

0

Okay so I set the networkowner to nil(aka the server) and it works but now the zombies' server locations and visual locations are unaligned