Problem with seat/vehicleseat and barriers

I have a problem with Seat and VehicleSeat

I made a barrier in my game, and the barrier is meant to work on all things that aren’t players
For example, a player isn’t affected by the barrier, but a npc or a moving part is affected and can’t get to the other side.

The problem is, when a player uses a seat or vehicle seat, the entire model connected to the seat changes to the collide options of the player, making the barrier unable to work on that model.


Example in case you didn't understood

Example of what’s happening:
A player join the game, and there’s 2 grounds, a barrier at the top and a normal baseplate at bottom.

The player falls to the baseplate because the barrier doesn’t work on players. (which is made to work that way)

If the player reset, and when it’s on the top, gets in a car seat, the car for some reason gets the same collisions of the player and also falls in the baseplate, but I wanted it to stay on the barrier.


Hope someone knows how I can fix it, thanks!

If your barrier is done through collision groups you can probably change the player to the non-player collision group when the seat property changes.

1 Like

It wasn’t done by that way, but I gonna remake it to that way and see if it works!

After remaking it all, it worked well!

Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.