auto-git:
[change] src/runtime-three/runtime-host.ts [change] src/runtime-three/runtime-interaction-system.ts
This commit is contained in:
@@ -25,10 +25,12 @@ import {
|
||||
Quaternion,
|
||||
Scene,
|
||||
ShaderMaterial,
|
||||
SphereGeometry,
|
||||
Vector3,
|
||||
SpotLight,
|
||||
TextureLoader,
|
||||
Texture,
|
||||
TorusGeometry,
|
||||
WebGLRenderTarget,
|
||||
WebGLRenderer
|
||||
} from "three";
|
||||
@@ -145,9 +147,13 @@ import type {
|
||||
import { RapierCollisionWorld } from "./rapier-collision-world";
|
||||
import {
|
||||
RuntimeInteractionSystem,
|
||||
resolveRuntimeTargetCandidates,
|
||||
resolveStableRuntimeTargetProposal,
|
||||
type RuntimeDialogueStartSource,
|
||||
type RuntimeInteractionDispatcher,
|
||||
type RuntimeInteractionPrompt
|
||||
type RuntimeInteractionPrompt,
|
||||
type RuntimeTargetCandidate,
|
||||
type RuntimeTargetReference
|
||||
} from "./runtime-interaction-system";
|
||||
import { RuntimeAudioSystem } from "./runtime-audio-system";
|
||||
import {
|
||||
@@ -193,6 +199,7 @@ import {
|
||||
createRuntimeNpcFromDefinition
|
||||
} from "./runtime-scene-build";
|
||||
import {
|
||||
resolveDefaultTargetCycleInput,
|
||||
resolvePlayerStartLookInput,
|
||||
resolvePlayerStartPauseInput
|
||||
} from "./player-input-bindings";
|
||||
|
||||
@@ -89,6 +89,13 @@ export interface RuntimeTargetCandidate extends RuntimeTargetReference {
|
||||
score: number;
|
||||
}
|
||||
|
||||
export interface RuntimeResolvedTarget extends RuntimeTargetReference {
|
||||
prompt: string;
|
||||
position: Vec3;
|
||||
center: Vec3;
|
||||
range: number;
|
||||
}
|
||||
|
||||
export interface RuntimePlayerTriggerProbe {
|
||||
feetPosition: Vec3;
|
||||
eyePosition: Vec3;
|
||||
|
||||
Reference in New Issue
Block a user