Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
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.
Solved! Go to Solution.
works with
$scope.getProps = function(){
tml3dRenderer.setupTrackingEventsCommand (function(target,eyepos,eyedir,eyeup) {}
}
H @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) {}
}