SphereD.dpr 477 B

123456789101112131415161718192021
  1. {: Ultra-basic collision detection sample.
  2. Two sphere have been placed in the scene, both have a TGLBCollision behaviour
  3. linked to the collision manager component.
  4. Move them and click the button, if they collide, you will get a message, if
  5. not, nothing will happen.
  6. }
  7. program SphereD;
  8. uses
  9. Forms,
  10. fSphereD in 'fSphereD.pas' {FormSphere};
  11. {$R *.RES}
  12. begin
  13. Application.Initialize;
  14. Application.CreateForm(TFormSphere, FormSphere);
  15. Application.Run;
  16. end.