Class ClientPlayerBodyDataStore
java.lang.Object
net.timtaran.interactivemc.body.player.store.ClientPlayerBodyDataStore
Client-side data store containing VR-related information.
This class stores data that is specific to the client side, such as grabbed bodies and the current VR pose information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionOrigins scheduled to be ignored by other actions sharing the same VR origin.static VRPoseThe current VR pose of the player, updated every frame.static EnumMap<PlayerBodyPart, UUID> Maps fromPlayerBodyPartto the UUID of the grabbed body.List containing indices of all bodies controlled by the player.static EnumMap<PlayerBodyPart, TriggerState> -
Method Summary
-
Field Details
-
grabbedBodies
Maps fromPlayerBodyPartto the UUID of the grabbed body. -
triggerStates
-
playerControlledBodies
List containing indices of all bodies controlled by the player. Stores the Jolt physics body IDs associated with each player.Used for fast lookups in
GrabInteraction.canGrabClient(PlayerBodyPart) -
currentPose
The current VR pose of the player, updated every frame.- See Also:
-
cancelOrigins
Origins scheduled to be ignored by other actions sharing the same VR origin.- See Also:
-
-
Method Details
-
isGrabbing
-