Hi,
In AR it is usually better to direct the user around the model so they can see what is happening from the right direction.
If that is not possible in your case it would be easier to turn the model in Creo Illustrate.
If that is also not possible you can do animate the turning of the part also for example like this:
var modelname = "model-2"; //change according your model
$scope.$on('playstarted', function(evt, arg) {
if($scope.view.wdg[modelname].currentStep == 2){
$scope.movePart(modelname,"ry",4,180);
}
if($scope.view.wdg[modelname].currentStep == 3){
$timeout(function(){
$scope.movePart(modelname,"ry",-4,-180);
}
, 1500);// adjust time in ms to start in the middle of the step
}
}
);
$scope.movePart= function(partName, d, val, distance){
var start = $scope.view.wdg[partName][d];
var inter = $interval(function() {
$scope.view.wdg[partName][d] += val;
if(val>0){
if( $scope.view.wdg[partName][d]>=start+distance)
{
$interval.cancel(inter);
}
}
else{
if( $scope.view.wdg[partName][d]<=start+distance)
{
$interval.cancel(inter);
}
}
}
,50)
}