Repository navigation
2b - Mobs, NPCs (talk, loot) and mouth on XRI - #428
Merged
Merged
Conversation
…talks to it or skips a line, a dead NPC opens the loot panel, beds/fires/wheels/switches/seats are used, hovering shows the name label or the NPC's health bar (XRSimpleInteractable + XriInteractableBridge on the mob and oCNpc prefabs, IsSelectOnly keeps the HVR release workaround in VRNpc for HVR only); eating at the mouth works on the XRI rig (VRMouth on its camera); no more ClosestPoint warnings while pointing at mobs (HVR phase 2b). No player-visible change on the default Hvr backend. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closed
Contributor
Author
|
The raycaster to grab an object is nearly infinite. I put a ticket to update it. Apart from that: Works. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Phase 2b: mobs, NPCs, melee and mouth on the Xri backend (needs 2a).
XRSimpleInteractable+ bridge onoCMob*andoCNpc: a grip means use / talk.VrInteractable.IsSelectOnlytells "use" from "hold";VRNpconly does the grab-and-release workaround on Hvr.Mouth(VRMouth) on the XRI camera, so held food can be eaten.Collider.ClosestPointwarnings on non-convex mesh colliders (used by the grab code from 2a too).To test
MissingReferenceException(found-bugs.md).Test on (delete if irrelevant)
🤖 Generated with Claude Code