A simple script to make doors open on contact. Designed to work out of the box with zero setup, but still allow customisation:
- Opens on contact
- Closes as player moves away
- Opens for AI or physics objects
- Supports hinged or sliding doors
- Customisable speed and AnimCurve
- Linkable double doors
- Triggers SFX on open, close, slam
- Robust and well-commented C# code
- Un/Lockable from script
- Demo scene with many examples