class
ManualHitbox
public sealed class ManualHitbox : Component A hitbox that can be placed manually on a GameObject, instead of coming from a model
Constructors
ManualHitbox() Properties
| Name | Type | Description |
|---|---|---|
Target | GameObject | The target GameObject to report in trace hits. If this is unset we'll default to the gameobject on which this component is. |
Shape | HitboxShape | |
Radius | Single | |
CenterA | Vector3 | |
CenterB | Vector3 | |
HitboxTags | TagSet |
Methods
Void Rebuild() Void UpdatePositions()