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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

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.

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) {}
}
Announcements

Top Tags