Hi

  I have one problem. I read the TickTockCollision on sample of java3D.

  I don't know how to detect collision between 2 objects (the
TickTockCollision sample is about Shape3D) as geometry of files vrml
(BranchGroup) .

  This code works if shape is of the type Shape3D. I want that shape is of
the type BranchGroup or other type that permit detection of collision
between files vrml.

  ...
  BranchGroup shape = new  vrmlLoad("wall.wrl");
  objTrans.addChild(shape);

  ...

  public void initialize() {
    wEnter = new WakeupOnCollisionEntry(SHAPE);
    wExit = new WakeupOnCollisionExit(SHAPE);
    wakeupOn(wEnter);
}

  if anybody have one example of the detection of collision between objects
(world) loader of the files vrml send me this example.

  Thanks for all.

  []s

  Haroldo
______________________________________________________
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".

Reply via email to