CorneringComponent - acrimi/Raven GitHub Wiki

CorneringComponent adds the ability for an entity to automatically move around the corners of collision objects within a certain threshold. This gives movements some leniency and removes the need for an entity to be perfectly aligned in order the move around collision objects.

Configuration

When used inside the components block, the initial state of the component can be configured with the following parameters:

Key Type Description
corneringSpeed float The speed at which the entity will move around corners, in gl units per second

Example:

"CorneringComponent": {
  "corneringSpeed": 200
}

Properties

This component has no exposed properties