[fixed] FPS camera animator stutter

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
thatdudeoverthere
Posts: 28
Joined: Fri Apr 24, 2009 2:43 pm
Location: over there...

[fixed] FPS camera animator stutter

Post by thatdudeoverthere »

I was using irrlicht 1.4 for my project using a fps camera with keybinding and the jump animator, etc. anyway it worked fine, then randomly i decided to download irr 1.5 and i copied the irrlicht.dll and put the header files in the project options, and that's all i did i didn't change my code any! but now the camera with fall through the level if i try to move forward and i sling across the level if i move left or right and if the camera doesn't have any gravity then it works for some time then i fall out of the level :roll: !! wondering if anyone else seems to have the same problem? hmmmm.....
//Personal code

bool sarcasm;

void set_sarcastic()
{
sarcasm = true;
}
[img]
http://imgs.xkcd.com/comics/goto.png
[/img]
Squarefox2
Posts: 67
Joined: Mon Feb 02, 2009 10:19 am

Post by Squarefox2 »

So far I know in version 1.5 the movement speed of the FPS-Camera was changed.
Maybe this causes the problem.
Ion Dune
Posts: 453
Joined: Mon Nov 12, 2007 8:29 pm
Location: California, USA
Contact:

Post by Ion Dune »

This is true: Movement in 1.5 is now per second instead of per millisecond, as it was in 1.4. This means that your camera now moves 1000 times faster than it used to, which is causing the problems you are experiencing. This has been discussed multiple times on these forums, so in the future please use the search function to seek a more expedient answer, it's easier for everyone that way :D
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

minor correction: It's now per millisecond, whereas it was per second before :wink:
9YkKsvXM
Posts: 64
Joined: Tue Mar 11, 2008 11:45 pm

Post by 9YkKsvXM »

-
Last edited by 9YkKsvXM on Mon Jun 08, 2020 1:21 am, edited 1 time in total.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

It did neither. The only thing which change is the parameter scale, before the value was scaled inside the constructor, now you have to do it before calling the constructor.
9YkKsvXM
Posts: 64
Joined: Tue Mar 11, 2008 11:45 pm

Post by 9YkKsvXM »

-
Last edited by 9YkKsvXM on Mon Jun 08, 2020 1:21 am, edited 1 time in total.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Edited title, this thread is now being used to track the stutter problem, bug here
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

Fixed! Both bugs presented in the older thread and in this one are fixed in this patch , the details are described in the tracker!

Read more here :

https://sourceforge.net/tracker/?func=d ... tid=540678
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Patch applied to 1.6 branch
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Post Reply