I fixed it.
Here:
var Steuerung: array[1..4] of SKeyMap;
[...]
Steuerung[1].Action:=EKA_MOVE_FORWARD;
Steuerung[1].KeyCode:=KEY_KEY_W;
Steuerung[2].Action:=EKA_MOVE_BACKWARD;
Steuerung[2].KeyCode:=KEY_KEY_S;
Steuerung[3].Action:=EKA_STRAFE_LEFT;
Steuerung[3].KeyCode:=KEY_KEY_A;
Steuerung[4 ...
Search found 6 matches
- Fri May 04, 2012 6:06 pm
- Forum: Beginners Help
- Topic: FPS Camera
- Replies: 5
- Views: 676
- Fri May 04, 2012 5:21 pm
- Forum: Beginners Help
- Topic: FPS Camera
- Replies: 5
- Views: 676
Re: FPS Camera
Hi,
I don't know how you mean it. Could you please ride the Code? I made it like this:
var Steuerung: array[0..3] of PSKeyMap;
[...]
Addr(Steuerung); <- here is the error
Steuerung[0].Action:=EKA_MOVE_FORWARD;
Steuerung[0].KeyCode:=KEY_KEY_W;
Steuerung[1].Action:=EKA_MOVE_BACKWARD ...
I don't know how you mean it. Could you please ride the Code? I made it like this:
var Steuerung: array[0..3] of PSKeyMap;
[...]
Addr(Steuerung); <- here is the error
Steuerung[0].Action:=EKA_MOVE_FORWARD;
Steuerung[0].KeyCode:=KEY_KEY_W;
Steuerung[1].Action:=EKA_MOVE_BACKWARD ...
- Sun Apr 29, 2012 1:06 pm
- Forum: Beginners Help
- Topic: FPS Camera
- Replies: 5
- Views: 676
Re: FPS Camera
No this is not the problem. The problem is:
Steuerung is an array and this procedure don't handle an array.
I use irrDelphi.
Code: Select all
Camera:=smgr.addCameraSceneNodeFPS(nil,100,0.03,-1,Steuerung,4,True,3);
I use irrDelphi.
- Sun Apr 29, 2012 8:22 am
- Forum: Project Announcements
- Topic: IrrDelphi (Irrlicht183, irrKlang130b) Delphi\Pascal headers
- Replies: 54
- Views: 47213
Re: IrrDelphi(Irrlicht 172, irrKlang 130b) Delphi\Pascal hea
Here is the answer:
Code: Select all
irrKlangDrop(engine);
- Sun Apr 29, 2012 8:18 am
- Forum: Project Announcements
- Topic: IrrDelphi (Irrlicht183, irrKlang130b) Delphi\Pascal headers
- Replies: 54
- Views: 47213
Re: IrrDelphi(Irrlicht 172, irrKlang 130b) Delphi\Pascal hea
Hi,
I've got a question. How I should drop the ,,engine" from the irrKlang demos.
In the irrKlang_130b is no drop_gcc 
I've got a question. How I should drop the ,,engine" from the irrKlang demos.
Code: Select all
drop_gcc(engine); // delete engine
- Sun Apr 29, 2012 7:39 am
- Forum: Beginners Help
- Topic: FPS Camera
- Replies: 5
- Views: 676
FPS Camera
Hi guys,
I added a FPS Camera, but I want to control it with WSAD. The problem is that I'm programming with Delphi and NOT with C++. I made a PSKeymap, but it dosen't run with more than 2 actions.
Here is my code:
var Camera: ICameraSceneNode;
Steuerung: array[1..4] of PSKeyMap;
[...]
Steuerung ...
I added a FPS Camera, but I want to control it with WSAD. The problem is that I'm programming with Delphi and NOT with C++. I made a PSKeymap, but it dosen't run with more than 2 actions.
Here is my code:
var Camera: ICameraSceneNode;
Steuerung: array[1..4] of PSKeyMap;
[...]
Steuerung ...