Defines one hitbox on a BoltHitboxBody More...
Properties | |
Vector3 | hitboxBoxSize [get, set] |
Size of the hitbox if this shape is a box More... | |
Vector3 | hitboxCenter [get, set] |
Center of the hitbox in local coordinates More... | |
BoltHitboxShape | hitboxShape [get, set] |
Shape of the hitbox (box or sphere) More... | |
float | hitboxSphereRadius [get, set] |
Type of the hitbox More... | |
BoltHitboxType | hitboxType [get, set] |
Type of the hitbox More... | |
Defines one hitbox on a BoltHitboxBody
Example: Resizing a sphere hitbox
|
getset |
Size of the hitbox if this shape is a box
Example: A method to double the size of a player's head hitbox if it is a box.
|
getset |
Center of the hitbox in local coordinates
Example: Getting a vector that points from the player's weapon to the head of a target entity.
|
getset |
Shape of the hitbox (box or sphere)
Example: Sorting the hitboxes in a body based on shape.
///
|
getset |
Type of the hitbox
Example: A method to double the size of a player's head hitbox if it is a sphere.
|
getset |
Type of the hitbox
Example: Modifying a base damage value depending on the area of the hit.