Hi Anders, I think you need the class name. Try: PickObject.USE_GEOMETRY. Regards, Larry Anders Breivik wrote: > Hi, > > I've just started learning how to use Java3D's collision detection > methods using the example TickTockCollision class. There is one simple issue > which I can't figure out: > > I've used "WakeupOnCollisionExit(Node armingNode,int speedHint)" > where speedHint is either USE_BOUNDS or USE_GEOMETRY. However, > both USE_BOUNDS and USE_GEOMETRY are recognised as undefined variables > at compilation: > > CollisionDetector.java:59: Undefined variable: USE_GEOMETRY > wEnter = new WakeupOnCollisionEntry(shape,USE_GEOMETRY); > ^ > CollisionDetector.java:60: Undefined variable: USE_GEOMETRY > wExit = new WakeupOnCollisionExit(shape,USE_GEOMETRY); > ^ > 2 errors > > (The program runs fine when WakeupOnCollisionEntry(shape) is used.) > > Does anyone have an idea of what I might have done wrong? > > Any feedback is greatly appreciated! > > Anders. > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com > > =========================================================================== > 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". __________________________________________________________________ Lawrence L. Hope email: [EMAIL PROTECTED] Principal Software Engineer Phone: +353-1-803 3254 Oracle Corporation Fax: +353-1-803 3351 Maretimo Court, Temple Road Blackrock, Co. Dublin Ireland
begin:vcard n:Hope;Lawrence tel;fax:353-1-803 3321 tel;work:353-1-803 3254 x-mozilla-html:FALSE org:Oracle EDTC adr:;;Maretimo Court, Temple Road;Blackrock, Co. Dublin;;;Ireland version:2.1 email;internet:[EMAIL PROTECTED] title:Principal Software Engineer fn:Lawrence Hope end:vcard