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

Walk trough an AR experience like in Google Street View

pjahn
16-Pearl

Walk trough an AR experience like in Google Street View

Our prospect builds rather large plants and wants to have a functionality that makes it possible to walk through an AR experience by tapping waypoints or buttons that bring him to different location within the model.

 

Why?:

  • Often there is not enough room to walk around long distances.
  • Doing products demos for a product is easiert when it is possible to jump to different positions in the model.

Thanks for your suggestions.

2 REPLIES 2

The easiest way I can think of would be to move the model around underneath you.

 

  1. Create application parameters for the position and rotation of the plant model and bind them to the model values.

    Untitled.png
  2. Create some javascript functions to change the values of the plant position so that it moves underneath you.

    $scope.front = function () {
    $scope.app.params['model_x'] = 0;
    $scope.app.params['model_y'] = 0;
    $scope.app.params['model_z'] = 0;
    }


    $scope.back = function () {
    $scope.app.params['model_x'] = 7.43;
    $scope.app.params['model_y'] = -0.917;
    $scope.app.params['model_z'] = 19.87;
    }

  3. Create some buttons that can be clicked on to run the java function and the model will jump underneath you to the new position.

    Untitled.png

Hope this helps.

 

Allan

 

Thanks. I will try your solution.

Announcements

Top Tags