Hi Justin,
I'd tried to use your NavigationHandler.
I used the code below:
nh = new NavigationHandler();
nh.setWorldInfo(worldBG,worldBG);
nh.setNavigationSpeed(4f);
nh.setViewInfo(simU.getViewer().getView(), viewTransform);
nh.setButtonNavigation(MouseEvent.BUTTON1_MASK,NavigationState.WALK_STATE);
nh.setAvatarInfo(1f,1f,1f);
and this to Navigate:
void canvas_mousePressed(MouseEvent e) {
nh.mousePressed(e);
}
void canvas_mouseReleased(MouseEvent e) {
nh.mouseReleased(e);
}
void canvas_mouseDragged(MouseEvent e) {
nh.mouseDragged(e);
}
But If I want to walk through my scene, I'm still walking through my
terrain and other objects.
do you know what is wrong?
MB
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".