File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/examples/utils/avatar Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1- import { EntityUUID } from '@ir-engine/ecs'
1+ import { SourceID } from '@ir-engine/ecs'
22import { getComponent } from '@ir-engine/ecs/src/ComponentFunctions'
33import { ECSState } from '@ir-engine/ecs/src/ECSState'
44import { 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 )
You can’t perform that action at this time.
0 commit comments