This article shows how to control scenes on a Unity application by a Windows application with NamedPipe like the following demonstration. The full source is on the GitHub repository.Continue reading "Control Unity Application by Windows Application"
You can use
Physics.OverlapCapsule to get two Colliders overlapped with a CapsulCollider as above. This method takes the position and the size of a capsule and returns all Colliders overlapped by the capsule.
You can get the Colliders by configuring a Kinematic Rigidbody Trigger Collier and handling the
OnTriggerEnter message, but the method is handy.