Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Sep 26, 2023
1 parent b22efc4 commit 5ea4a1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/inflators/media-frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { addComponent, addEntity, hasComponent } from "bitecs";
import { MediaType } from "../utils/media-utils";
import { COLLISION_LAYERS } from "../constants";
import { Layers } from "../camera-layers";
import { Type } from "./rigid-body";
import { Type, inflateRigidBody } from "./rigid-body";
import { Fit, inflatePhysicsShape, Shape } from "./physics-shape";
import { Mesh, BoxBufferGeometry, ShaderMaterial, Color, DoubleSide } from "three";

Expand Down Expand Up @@ -89,7 +89,7 @@ export function inflateMediaFrame(world, eid, componentProps) {
if (componentProps.locked) {
NetworkedMediaFrame.flags[eid] |= MEDIA_FRAME_FLAGS.LOCKED;
}
MediaFrame.inflateRigidBody(world, eid, {
inflateRigidBody(world, eid, {
type: Type.KINEMATIC,
collisionGroup: COLLISION_LAYERS.MEDIA_FRAMES,
collisionMask: COLLISION_LAYERS.INTERACTABLES,
Expand Down

0 comments on commit 5ea4a1b

Please sign in to comment.