Hi, everything was working just fine the first time I installed the mod to my server, however sometime in between me closing the server and restarting it, something broke. I've gone through and tested all of my plugins and im 99% sure that its a bug with this mod. After attaching an autoturret to my car and taking it for a drive, I was stopped by a spherical invisible wall that surrounded a nearby monument. If i got out of the car I could walk past the 'wall' just fine and it only stopped me when I had a turret attached to the car. I tried picking up the turret with a hammer and I was immediately able to drive without running into anymore invisible walls. I dont know why it started happening, only thing I can think of is me restarting my server.
Please help, your mod is amazing but it is nearly unusable for me. I cant drive down a road for more than a few seconds without running into a monument's "shield"
let me know if u need anymore info
Glitch? Can't Drive near Monuments or RoadsNot An Issue
Some questions to troubleshoot.
- Which monument?
- Is it a custom monument?
- Is it a procedural map? Can you share the size and seed?
- Were you able to drive to this monument before the restart?
- Does it happen other monuments? If so, which ones?
- Does placing a turret on the vehicle again cause the problem again?
- What happens when you spawn a turret on the car while at the monument?
- Can you see if you can reproduce with the Drone Turrets plugin?
1. Super Market + Bandit Camp (from what Ive tested)
2. No
3. Its a procedural map. Seed is 29043 and the world size is 3800
4. I wasn't able to test Supermarket and Bandit Camp before the restart so i dont know.
5. I havent been able to test many monuments but it happens in Supermarket and Bandit Camp. But, for some reason monuments like Satellite Dish and Junkyard dont have this bug and let me drive through them.
6. Yes, I tried taking the turret off and on again and each time I readded the turret it would bug out. Driving without the turret attached worked like normal
7. The car builds up a ton of speed and gets flung out of the monument's 'sphere' example: https://youtu.be/2EJAodyvLtE
8. I can't atm but I'll try it out in my spare time
hope this helps
Thanks. I appreciate you answering every question, and taking the time to record the video.
I created a map with that size and seed, and found the supermarket where the video takes place, but I couldn't reproduce the issue there or at the bandit camp.
The fact that the turrets contribute to the problem is clear, so this probably has something to do with the collision layers the turret entity uses as opposed to the ones that the car uses. My guess is that you won't be able to reproduce with the drone turrets plugin since it currently removes all colliders from the drone-mounted turret, whereas the car-mounted turrets still have some colliders.
There are technically things I could do to change the layers on the turret's colliders, but I'm not sure that's worth the effort without more information about what's causing this, considering that this appears to be an anomaly only affecting the current instance of your server. I have no idea what would be creating the collider (maybe Zone Manager?), but my guess is that the collider is not part of an entity, and that it should therefore disappear on the next server restart, and/or when you unload certain plugins.
Also, if you want a quick/temporary fix, you can try editing the following line of the plugin. Simply replace MeshCollider with Collider. The side effect is that projectiles such as grenades and rockets will pass right through car-mounted turrets.
https://github.com/WheteThunger/CarTurrets/blob/4b682024f29cbbe0403d4507150100950f33f0d5/CarTurrets.cs#L877