cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

setupTrackingEventsCommand error

dsgnrClarK
16-Pearl

setupTrackingEventsCommand error

Hi, there

 

Took List of Vuforia Studio events which we could be used as listener by javaScript/angular.js and How to get camera position? as reference.

 

Console Error "Wasn't able to setupTrackingEventsCommand because view object is not available." while experience loaded.

 

Click a button  triggers

myTestFunction()

Nothing happen.

 

What do I miss here?

Thank in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

works with

$scope.getProps = function(){
  tml3dRenderer.setupTrackingEventsCommand (function(target,eyepos,eyedir,eyeup) {}
}

View solution in original post

3 REPLIES 3

@dsgnrClarK,

what is the project type (3d mobile or Eyewear)? 

And where the issue occurred - believe in Preview mode in chrome - so you mentioned console window, right?

Thanks

Hi, @RolandRaytchev 

 

I tried both Mobile & 3D Eyewear experiences.

The Error message shows up in both experience (Chrome Preview Console).

 

One thing should be corrected.

On both Devices, while myTestFunction() triggered.

Label value shows 'Undefined'.

 

Thank you.

 

regards

works with

$scope.getProps = function(){
  tml3dRenderer.setupTrackingEventsCommand (function(target,eyepos,eyedir,eyeup) {}
}

View solution in original post

Announcements

Topics available:
AR/VR for Data Optimization AR/VR for Security and Control AR/VR for Inspection