Interface HitboxInfo
- All Known Implementing Classes:
HitboxInfoImpl
,HitboxItemPair
,RelativeHitboxInfoImpl
public interface HitboxInfo
An object representing one hitbox for an
Immersive
. You
may obtain instances of this interface using HitboxInfoFactory
. You could also implement this yourself,
but that is NOT covered under the API, so API changes may result in your implementations of this interface breaking
without warning.-
Method Summary
-
Method Details
-
getHitbox
BoundingBox getHitbox()- Returns:
- Get the actual hitbox used for collision, intersection, etc.
-
isTriggerHitbox
boolean isTriggerHitbox()- Returns:
- Whether this hitbox is a trigger hitbox. As of writing, this is if the break block button is required to be held while a hand is in this hitbox to activate it in VR.
-