Skip to content

How to hide the hand animation? #310

Answered by sarimmehdi
sarimmehdi asked this question in Q&A
Discussion options

You must be logged in to vote

I solved the problem by trying @grassydragon 's suggestion in the onViewCreated (also suggested by him) function instead of the onAttachFragment function.

@Override
public void onViewCreated(@NonNull ArSceneView arSceneView) {
    arSceneView.getScene().addOnUpdateListener(this::onUpdateFrame);
    InstructionsController instructionsController = arFragment.getInstructionsController();
    if (instructionsController != null) {
        instructionsController.setEnabled(false);
    }
}

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@sarimmehdi
Comment options

Comment options

You must be logged in to vote
2 replies
@grassydragon
Comment options

@sarimmehdi
Comment options

Answer selected by sarimmehdi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants