Posted By: theDust
Physics cause difficulties measuring entity rotational speeds - 04/02/09 12:40
Hi,
I have made a nice little demo, you will immediately see what is going wrong. Press up and down to let it rotate.
http://www.file-upload.net/download-1563899/rotspeed.rar.html
The most of the time the value of the speed is correct but its "fluttering" around. Try to press up or down for a bit longer.
It goes up to 4,5 (on my pc) and then I have the impression its switching for a few millisecs to other values like 2 or 3. That's wrong and deadly for my project ^^
And the sign (it should be the direction of the rotational speed) of the speed is pretty much random.
Keep in mind that without physics the speed has always exactly the right value.
(You can also find this (unresolved) problem here http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=257365&page=1 and here http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=258399#Post258399)
So, I can't explain this issue better then this, help would be great.
I have made a nice little demo, you will immediately see what is going wrong. Press up and down to let it rotate.
http://www.file-upload.net/download-1563899/rotspeed.rar.html
The most of the time the value of the speed is correct but its "fluttering" around. Try to press up or down for a bit longer.
It goes up to 4,5 (on my pc) and then I have the impression its switching for a few millisecs to other values like 2 or 3. That's wrong and deadly for my project ^^
And the sign (it should be the direction of the rotational speed) of the speed is pretty much random.
Keep in mind that without physics the speed has always exactly the right value.
(You can also find this (unresolved) problem here http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=257365&page=1 and here http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=258399#Post258399)
So, I can't explain this issue better then this, help would be great.