Ben, quality tutorial. I wonder if you could help
me modify it slightly?
I've attached this to the BranchGroup and it
happily lets me look around with the mouse.
oMouseRotate_1 = new
MouseRotate(MouseBehavior.INVERT_INPUT);
oMouseRotate_1.setTransformGroup(ourView.getViewPlatformTransform()); oMouseRotate_1.setSchedulingBounds(bounds); objRoot.addChild(oMouseRotate_1); What I would ideally like to do is intstead of 'a'
and 'd' spinning him round I would like the mouse to do it.
The problem is I would like 'a' to sidestep left
and 'd' right. At the moment it does:
tempTrans.rotY(0-0.2d);
How can I change that so that the purple
dude pans across and the mouse direction determining where he looks? (like
you get with 1st person shooters). And is orbitbehaviour the same as
mouserotate?
=========================================================================== 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". |
- Re: [JAVA3D] newbie question Artur Biesiadowski
- Re: [JAVA3D] newbie question Michael Newcomb
- Re: [JAVA3D] newbie question Michael Newcomb
- Re: [JAVA3D] newbie question Kasparian, Raffi J.
- [JAVA3D] Newbie Question Wileynet
- Re: [JAVA3D] Newbie Question Alessandro borges
- Re: [JAVA3D] Newbie Question Wileynet
- [JAVA3D] Newbie Question FantasyFooty.org
- Re: [JAVA3D] Newbie Question Ben Moxon
- Re: [JAVA3D] Newbie Question FantasyFooty.org
- Re: [JAVA3D] Newbie Question Ben Moxon
- Re: [JAVA3D] Newbie Question FantasyFooty.org