Attract Component
Introduction
A component that can be used to attract the owning object to the player
Dependencies
The AttractComponent relies on other components of this plugin to work:
- Logger: Used to log useful information to help you debug any issues you might experience
API Reference
Properties
| Property | Description | Type | Default Value |
|---|---|---|---|
| AttractSpeed | The speed at which the object is attracted to the player | float | 5.0f |
| CollectDistance | The distance at which the object is collected by the player | float | 75.0f |