Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi Maus in GLScene einbauen? (https://www.delphipraxis.net/13393-maus-glscene-einbauen.html)

Pyr0cracker 17. Dez 2003 16:02


Maus in GLScene einbauen?
 
Hallo!
Wie kann ich das am besten machen?
Hab bis jetzt ein Objekt Maus und die position bestimme ich mit:
Delphi-Quellcode:
  Position.X := (mouse.CursorPos.x - 0.5*AufloesungX) + (width / 2);
  Position.Y := (mouse.CursorPos.Y - 0.5*AufloesungY) - (height / 2);
Allerdings bewegt sich das Objekt viel schneller zum Rand hin als die Maus...

Danke für alle Tips,


Alle Zeitangaben in WEZ +1. Es ist jetzt 17:39 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz