Capsule2D

Introduction

When are Capsules used?

Capsules are often used to determine if a collision has occurred between a moving Circle and another object. Since capsules use rounded edges, they can represent the area that a Circle occupies during and between two subsequent frames.

Capsule Size

Capsule size is controlled by two variables:

  • Scale

  • EndpointRadius

Did this article leave any questions unanswered? Post any question in our forums for a rapid response.

Last updated