Just started using Irrlicht - fantasticaly easy to set up and use.
Anyway, I've got a problem, maybe collision detection related, where suddenly the movement gets stuck. The mouse still works so I can look around myself but the cursor keys stop doing anything.
I'm using a slight modification of the collision tutorial with this map made in 3D Max 5. The only real changes are the loading of Castle1.3ds instead of the quake map, centering on 0,0,0, and having a collision ellipse size 10,20,10 offset 0,20,0. Btw, I can't see any logic to the units once in irrlicht. In 3d Max the units were metres but 20 in irrlicht seems to be about half a meter.
Anyway, here's the bug. Walk around for a while and then suddenly the movement stops. Cursor keys no longer work. There is no jitter or anything. I managed to debug as far as to see the camera is still receiving keyboard messages but I've only just started using Irrlicht so couldn't get beyond that. Mouse still responds.
I've tried with version 0.4.1 - still the same, although I can't walk up walls anymore.
Hope you can help
Joe
Movement getting stuck bug
-
- Posts: 32
- Joined: Sun Nov 23, 2003 10:23 pm
Hi
try to change the start position of your camera (or player), set it a little bit higher so that the camera is falling at the beginning. Maybe this will help. I had similar problems, try and error with the values: start pos, ellipsoid and offset helped. I hope someone else can give you a better hint
Cheers
try to change the start position of your camera (or player), set it a little bit higher so that the camera is falling at the beginning. Maybe this will help. I had similar problems, try and error with the values: start pos, ellipsoid and offset helped. I hope someone else can give you a better hint
Cheers
-
- Posts: 15
- Joined: Thu Dec 04, 2003 11:09 am
- Location: London UK
- Contact: