Hi!

Thanks! I have read the source code  for the DND applet in  the 3d user interfaces 
book!  It was very  informative!

I again ask help regarding the WakeuponCollisionEntry Class. I would like to use this 
class to listen to collision of  shape3d object by another shape3d object.

I am using Spheres and Cylinders. My Spheres are molecules. They can be combined to 
other molecules by a cylinder. The cylinders represent the number of bonds that can be 
connected.
(Water has a valence of 1 and thus only allows 1 to connect to it.)

I would like to use the WakeuponCollisionEntry Class to listen to collisions frrom 
cylinders and count them.

My algo (more or less) works this way:

Class Hydrogen extends behavior

Initialize()
{
Wakeupon(Wakeuponcollisionentry(spher1));
}

Process stimulus
{

    if (# of connected bonds != bondlimit)
    {
    # of connected bonds++;
    }
    else
    {
    Dialogbox("No of connected bonds exceeds the limit!);
    }

}

This program is  a little bit rusty but is this feasible?

Thanks! :)

BAMBAM

__________________________________
www.edsamail.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