IPhysics - Newton/Irrlicht framework

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

Post by Halan »

i said this because the documentation is only holding some functions but keep on going ;)

edit: any idea how i can use hitboxes (just a simple collision detection)? or is there maybe a simple physics engine that is more suitable for network updates etc (maybe without ragdoll etc)

greets,
halan
RapchikProgrammer
Posts: 279
Joined: Fri Dec 24, 2004 6:37 pm

Post by RapchikProgrammer »

Ya, i didnt update the documentation! Neways and collision detection with iphysics is very easy if that is what you are asking for? Just download the latest version and look at the examples file!
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

RapchikProgrammer wrote:Ya, i didnt update the documentation! Neways and collision detection with iphysics is very easy if that is what you are asking for? Just download the latest version and look at the examples file!
How do I get the latest version of IPhysics?
RapchikProgrammer
Posts: 279
Joined: Fri Dec 24, 2004 6:37 pm

Post by RapchikProgrammer »

http://file.uploadr.com/beb4

Even though this is an ancient version, i dug up from a previous post,but i hav run into some very strange probs with iphysics currently so i wud like to completely debug it and set up the documentation and better examples and then release it! For now this is the latest release!
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

RapchikProgrammer wrote:http://file.uploadr.com/beb4

Even though this is an ancient version, i dug up from a previous post,but i hav run into some very strange probs with iphysics currently so i wud like to completely debug it and set up the documentation and better examples and then release it! For now this is the latest release!
Ah, right. Thanks for the info. I got that yesterday (after digging back a few pages) and saw it was three weeks old. Assumed there'd be a newer version. :wink:

BTW That download says it will expire on 8th Feb?
RapchikProgrammer
Posts: 279
Joined: Fri Dec 24, 2004 6:37 pm

Post by RapchikProgrammer »

Ya, i have set up a permanent home for iphysics, http://iphysics.sourceforge.net! I will upload the website and the newer version there!
Baiame
Posts: 41
Joined: Sun Oct 15, 2006 11:33 am

Post by Baiame »

When I tried to compile a project with the IPhysics example files, the linker complained about not being able to find 'libcd.lib'. I excluded it, tried again, this time it was 'libcid.lib'. Same again, and the next time it was 'libcpd.lib'. As expected, things still didn't work with all those libraries excluded (by the way, I couldn't tell where those libs were being referenced with the /verbose parameter). I can't tell whether or not IPhysics is calling those libraries, but 11 errors in the IPhysics lib were returned. They all look something like this:

IPhysics.lib(CPhysics.obj) : error LNK2019: unresolved external symbol "public: void __thiscall CPhysicsCar::assembleCarPhysics(struct SPhysicsCar *,struct NewtonWorld *)" (?assembleCarPhysics@CPhysicsCar@@QAEXPAUSPhysicsCar@@PAUNewtonWorld@@@Z) referenced in function "public: class IPhysicsCar * __thiscall CPhysics::addCar(struct SPhysicsCar *)" (?addCar@CPhysics@@QAEPAVIPhysicsCar@@PAUSPhysicsCar@@@Z)"

I'm using MS Visual 2005 (the irony is that I switched to Visual for better third-party lib support...). The Newton, IPhysics, and Irrlicht includes and libs are set up, and the appropriate DLLs are in place. Anyone know what the cause might be? Thanks for any help.
RapchikProgrammer
Posts: 279
Joined: Fri Dec 24, 2004 6:37 pm

Post by RapchikProgrammer »

As i said in an earlier post, i accidently removed the car.cpp file so if you try to add a car in the examples it is gonna cause a problem till i release the new version! Srry for this tho!
Baiame
Posts: 41
Joined: Sun Oct 15, 2006 11:33 am

Post by Baiame »

^ Ah, I should've read the topic more carefully (I had read that bit, but didn't make the connection). Sorry about that.

EDIT- I successfully compiled a working .a library (I think monkeycrack's is outdated now). If anyone's having trouble, PM me, I can email it to you.
RapchikProgrammer
Posts: 279
Joined: Fri Dec 24, 2004 6:37 pm

Post by RapchikProgrammer »

Hey thanx for doing this baime, that gets me some more time to release, version 2.0! Nowadays i wasnt feeling relaxed while programming cause i wanted to release a new version as soon as i can! Currently there is basically one problem that is stopping the release of v2.0! You can check out the problem here:

http://www.newtondynamics.com/forum/vie ... php?t=3260
Baiame
Posts: 41
Joined: Sun Oct 15, 2006 11:33 am

Post by Baiame »

^ Hmm, doesn't seem to be many replies there (though I'm unfamiliar with the standards of the Newton forums). Didn't Luke successfully implement ragdolls using Newton? Couldn't you ask him to take a look at your code?
leonardoaraujo.santos
Posts: 7
Joined: Tue Feb 06, 2007 1:30 am

Example 2 Problem (Terrain)

Post by leonardoaraujo.santos »

Hi ! First off all congratulations for the IPhysics it's really helping me.

One question.... I Compiled those samples (example1 example 2 example3) with Visual C 6 and irrlitch-1.2 the samples example1 and example2 work fine.

But when I execute example2 (That uses terrain) it crashes on the line
IPhysicsEntity* terrainEntity = physics.addEntity(&terrain);

First I`ve read some post`s and the first thing that you talked about is to be certain that the mesh node (terrain) was ok.. If I take the line IPhysicsEntity* terrainEntity = physics.addEntity(&terrain); the sample works but the Cubes fall from the Map.

Do you know what I could do to solve this.

The bitmap field was exactly the field that comes with IPhysics (I`ve downloaded from the page)

Another question IPhysics works with DevC++?
leonardoaraujo.santos
Posts: 7
Joined: Tue Feb 06, 2007 1:30 am

Example 2 Problem (Terrain)

Post by leonardoaraujo.santos »

Hi ! First off all congratulations for the IPhysics it's really helping me.

One question.... I Compiled those samples (example1 example 2 example3) with Visual C 6 and irrlitch-1.2 the samples example1 and example2 work fine.

But when I execute example2 (That uses terrain) it crashes on the line
IPhysicsEntity* terrainEntity = physics.addEntity(&terrain);

First I`ve read some post`s and the first thing that you talked about is to be certain that the mesh node (terrain) was ok.. If I take the line IPhysicsEntity* terrainEntity = physics.addEntity(&terrain); the sample works but the Cubes fall from the Map.

Do you know what I could do to solve this.

The bitmap field was exactly the field that comes with IPhysics (I`ve downloaded from the page)

Another question IPhysics works with DevC++?
RapchikProgrammer
Posts: 279
Joined: Fri Dec 24, 2004 6:37 pm

Post by RapchikProgrammer »

Firstly, i hav just thought up of a probable solution for the custom joints problem i posted earlier but as i am out of town rit now i wont know if it works till sunday, if the problem perists i will ask luke to help out!

Secondly, character controller is almost complete! It works awesome on terrain with no jitters due to a new function i added. Secondly the character can now also go up stairs, but its not absoloutely smooth cause once a while you do get stuck and then you have to move to the side and then it works smooth again. Its only a minor bug, so wont take long to solve. And i have also done a lot of commenting and sorting of the code, preparing for the official release.

Thirdly about the terrain problem, hmm very strange! As soon as i get bak to ma other home on sunday i will chek it out.
monkeycracks
Posts: 1029
Joined: Thu Apr 06, 2006 12:45 am
Location: Tennesee, USA
Contact:

Post by monkeycracks »

Moving forward is very very jerky on examples 2 and 3.
Post Reply