Skip to content

Commit b12a405

Browse files
committed
refactor: replace EntityUUID with SourceID in simulateMovement
1 parent ee43748 commit b12a405

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/examples/utils/avatar/simulateMovement.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { EntityUUID } from '@ir-engine/ecs'
1+
import { SourceID } from '@ir-engine/ecs'
22
import { getComponent } from '@ir-engine/ecs/src/ComponentFunctions'
33
import { ECSState } from '@ir-engine/ecs/src/ECSState'
44
import { defineQuery } from '@ir-engine/ecs/src/QueryFunctions'
@@ -34,7 +34,7 @@ const execute = () => {
3434
const entities = entitiesQuery()
3535
//q.setFromAxisAngle(V_010, (Math.PI / 180) * getState(ECSState).deltaSeconds * 60)
3636
for (const entity of entities) {
37-
const ownerID = getComponent(entity, NetworkObjectComponent).ownerId as any as EntityUUID
37+
const ownerID = getComponent(entity, NetworkObjectComponent).ownerId as any as SourceID
3838
const headTargetEntity = AvatarIKTargetComponent.getTargetEntity(ownerID, ikTargets.head)
3939
const ikTargetLeftHand = AvatarIKTargetComponent.getTargetEntity(ownerID, ikTargets.leftHand)
4040
const ikTargetRightHand = AvatarIKTargetComponent.getTargetEntity(ownerID, ikTargets.rightHand)

0 commit comments

Comments
 (0)