Community Tip - You can change your system assigned username to something more personal in your community settings. X
I created a pulsing effect for one of my model items using the following code:
function pulseBracket(){ if (pulseBracketEnabled){ $timeout(function () { var blueValue = (50 * (Math.sin(currentAngle))) + 50; var color = 'rgba(245, 140, ' + blueValue + ', 1)'; $scope.app.view.Home.wdg['bracket'].color = color; pulseBracket(); }, 5); currentAngle = currentAngle + 0.04; } else { $scope.app.view.Home.wdg['bracket'].color = ""; } }
This code works fine in the preview in Vuforia studio, but when I publish it and try to view it on a mobile device using Vuforia View, it doesn't seem to work. Is there any way to view debug logs on Vuforia view to figure out what the problem is?
Hello Izdane,
Yes it is possible.
It depends of the hardware used.
Please see this article to have more detail:
https://www.ptc.com/en/support/article?n=CS283816
Best regards,
Samuel
It says it's a maintenance only article. Is there any other way to access it?
Sadly no.
What is the mobile who are using ?
I will give you the steps specifically for your hardware.
Best regards,
I'm using an iPad Pro with iOS 11.4
Hello,
For iOS, please follow these steps :
Best regards,
Samuel
Did It work? I'm having the same issues as you.
Not sure about device debug log, i have wanted this many times.
But as for working on preview and not on device try using $scope.setWidgetProp instead of $scope.app.view.Home.wdg. setWidgetProp seems more reliable when modifying 3D object properties. app.view.Home.wdg seems to only reliably work for modifying 2D objects. These days i Always start with setWidgetProp and that work 90%+ if not then i will try the other method.
$scope.setWidgetProp(StudioID, Property, Value); //example $scope.setWidgetProp(modelItem-1, 'visible', true);