445

Writing program scripts with Java
Java script example code

  • Create a Bouncing ball interpolator that computes a gravity-like vertical bouncing motion from a fractional time input

  • Nodes needed:
    DEF Ball Transform { . . . }
    DEF Clock TimeSensor { . . . }
    DEF Bouncer Script { . . . }