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