#DoorVariant Collider Help
1 messages · Page 1 of 1 (latest)
So if i close the door on myself right now, my collision event would trigger, but it would never trigger any other way
DoorVariant Collider Help
colliders are more of a unity thing rather than labapi thing
if i understand what you are doing, your getting the existing colliders on the door and using them for collision detection
the reason you only detect collisions when you close the door is that, thats the only time when the server is ahead of the client. when you walk into a door the collisions happens on the client first and the client sends the position to the server where it wont collide as the position it sent already accounted for it. if you close the door the reverse happens, the server starts moving the door on the server and client moves it later(delayed by ping), so the door collides with the player on the server(which you see)
there might be a better way to achieve what you want, generally you dont need that level of granularity with collisions with plugins. so what you could do is add your own colliders which are oversized
How would I create my own colliders?
you can do AddComponent<BoxCollider>() search up Unity colliders