Search found 58 matches

by FriendlyWarlord
Fri May 08, 2009 12:22 am
Forum: Beginners Help
Topic: Confused about rotational velocity/torque
Replies: 1
Views: 270

I managed to fix it somehow, but it was the dumbest solution ever. I'll post again once I figure out why the heck it works :?
by FriendlyWarlord
Thu May 07, 2009 9:19 pm
Forum: Beginners Help
Topic: Confused about rotational velocity/torque
Replies: 1
Views: 270

Confused about rotational velocity/torque

I'm using IrrNewt, and I have a body with a rotation (x1,y1,z1), and I know the rotation (x2,y2,z2) that I want it to go to. I can interpolate the first rotation with the second rotation to get a rotation in between, and it works perfectly. But what I want to do is apply torque to the body to change...
by FriendlyWarlord
Mon Jan 05, 2009 2:34 am
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125708

So I changed NewtonToIrr from 32.0 to 1.0 and recompiled IrrNewt. It fixed my sphere/cube problem, and even some bugs that I didn't know were caused by precision errors! I figure using 1.0 (instead of 8.0 or 4.0) will make any "giant level" issues turn up sooner... I'm using a kind of big ...
by FriendlyWarlord
Sun Jan 04, 2009 9:04 am
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125708

Hmm, I'm in a pickle. Long story short: is there anything bad I should look out for if I lower this variable (in irrtonewt.hpp) to something lower? //!Convert a position from newton to irrlicht const irr::f32 NewtonToIrr = 32.0f; Or, would recompiling IrrNewt with a different NewtonToIrr value (say,...
by FriendlyWarlord
Tue Dec 30, 2008 10:09 pm
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125708

I considered that, but then the levels would have to be designed in such a way that there aren't any small holes in the floor. The game's more of a platformer than an FPS, so we can't have the character falling in a tiny hole because there happens to be a tiny hole right below it. One solution would...
by FriendlyWarlord
Tue Dec 30, 2008 6:49 am
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125708

I've been stuck on a Newton problem for several days, but now it's gotten to the point that I can't really proceed until I fix it: Is it possible to find out if a particular newton body is in contact with something? I need something like this to figure out when my character is/isn't on the ground, a...
by FriendlyWarlord
Sun Dec 21, 2008 10:45 pm
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125708

where can i download the media floder needed for the demos? I got the media from this IrrNewt version for Irrlicht 1.5 here, I think there are some things that aren't in Irrlicht's media: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=180684#180684 wow, thanks a lot... Well, when I tried ru...
by FriendlyWarlord
Sun Dec 21, 2008 10:02 pm
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125708

I use world->update() with no timestep and I don't have problems. What operating system and compiler are you using? Maybe problem lies there... Fairly old machine, Windows XP, Visual Studio 2005. Get this - now I can't get update() to NOT work! Here's the skinny: -Yesterday I compiled the IrrNewt l...
by FriendlyWarlord
Sun Dec 21, 2008 9:05 pm
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125708

I don't see any significant Newton performance change since using the 1.5 code. How can you tell your physics is only 4 fps? How many of you have this problem? Could you paste some code to test? Does this issue show all the time or only in some cases? Before I switched to your 1.5 code, I couldn't ...
by FriendlyWarlord
Sun Dec 21, 2008 8:51 pm
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125708

i can't compile under linux could you provide a makefile? i tried with codeblocks, but i am getting following errors: IrrBox.h isn't with all the other .hpp files, instead it's in source\IrrNewt_src\IrrBox. Hope that helps! That's because the exact filename is IrrBox not irrbox Hehe, could've been ...
by FriendlyWarlord
Sun Dec 21, 2008 8:21 pm
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125708

i can't compile under linux could you provide a makefile? i tried with codeblocks, but i am getting following errors: ||=== IrrNewt, default ===| /home/bachir/lib/aresfps/IrrNewt/source/IrrNewt_src/IrrBox/IrrBox.cpp|5|error: irrbox.h: No such file or directory| /home/bachir/lib/aresfps/IrrNewt/sour...
by FriendlyWarlord
Sun Dec 21, 2008 12:12 am
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125708

Thanks matgaw, I switched to Irrlicht 1.5 and was able to compile irrNewt and the demo with only minor changes =D

Newton only updates about 4 times a second in the demo though (with a 100+ Irrlicht framerate), but I'm sure I can fix that easily =)
by FriendlyWarlord
Sat Dec 20, 2008 8:08 am
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125708

hey, i have a question. Why does irrnewt need a lib and dll file to be able to be compiled if i added all the cpp source files from svn into my project? I integrated all the cpp files with iphysics and it worked fine without the necessity of an iphysics lib and dll, but irrnewt is not letting me co...
by FriendlyWarlord
Sun Oct 07, 2007 6:40 am
Forum: Beginners Help
Topic: Key codes[solved.. sort of]
Replies: 14
Views: 825

Ah, so you're just trying to write out a text file that contains a list of all the key codes, and the number for each? There probably isn't a way to turn the name of the key (for example "KEY_KEY_W") into a string. But if I wanted a list of all the key codes with their numerical values, I'...
by FriendlyWarlord
Sun Oct 07, 2007 4:50 am
Forum: Beginners Help
Topic: Key codes[solved.. sort of]
Replies: 14
Views: 825

Can't you cast it to an int? My input handling stuff uses integers instead of Irrlicht key codes. Whenever I need to use a keycode for anything, I cast it to an int (or rather, I'm passing the keycode to a method as an int parameter). Because I always convert them to integers before using them, I ne...