Search found 28 matches

by dwfait
Fri Jun 22, 2007 8:59 pm
Forum: Beginners Help
Topic: Hover craft like physics?
Replies: 10
Views: 1301

Dances wrote:The movement tutorial shows how to raycast.
Are you sure about that? I can't seem to find anything on ray casting in there..
by dwfait
Fri Jun 22, 2007 7:45 pm
Forum: Beginners Help
Topic: Hover craft like physics?
Replies: 10
Views: 1301

Ok...To do that I would need to use a Raycast, right? I've been searching the API for ages looking for a raycast, but can't seem to find it. If someone could post the syntax or a link to the docs for it I would be very grateful. Btw, I know newton has it's own raycast, but it doesn't seem to work wi...
by dwfait
Fri Jun 22, 2007 1:56 pm
Forum: Beginners Help
Topic: Hover craft like physics?
Replies: 10
Views: 1301

Well I'm looking for hovercraft behaviour over land, al la hover tanks.
by dwfait
Fri Jun 22, 2007 1:56 am
Forum: Beginners Help
Topic: Hover craft like physics?
Replies: 10
Views: 1301

Hover craft like physics?

Does any one have any good links or resources on how to set up hover craft like physics? I don't need it to go too in depth or deep into formulaes as I'll be using Newton physics. Or if anyone knows a good way to do hover physics themselves that would be great...I'm not asking for code, just the the...
by dwfait
Sat Feb 17, 2007 9:22 pm
Forum: Beginners Help
Topic: Get mesh size...
Replies: 1
Views: 121

Get mesh size...

Does anyone know of a way to get mesh size?

I've searched and found this thread, http://irrlicht.sourceforge.net/phpBB2/ ... =mesh+size

I tried the code there, but it doesn't seem to work...

I ask because I need to set up a physics body about the same size of a mesh.
by dwfait
Tue Feb 06, 2007 5:17 pm
Forum: Beginners Help
Topic: Crash on setTextureCreationFlag
Replies: 6
Views: 208

Revelation. Don't know why it didn't come up before, but now when i try to compile a new project, i get this: Warning: The library version of the Irrlicht Engine (1.1) does not match the version the application was compiled with (1.2). This may cause problems. Yet I'm using the .a that came with the...
by dwfait
Mon Feb 05, 2007 10:06 pm
Forum: Beginners Help
Topic: Crash on setTextureCreationFlag
Replies: 6
Views: 208

Thought I'd post it anyway. Here's the function the error calls on: void cTerrain::Load(const stringc path) { Node=smgr->addTerrainSceneNode(path.c_str()); Node->setMaterialFlag(EMF_LIGHTING, false); Node->setScale(vector3df(40, 4.4f, 40)); Node->setMaterialTexture(0, driver->getTexture("terrai...
by dwfait
Mon Feb 05, 2007 9:59 pm
Forum: Beginners Help
Topic: Crash on setTextureCreationFlag
Replies: 6
Views: 208

It also happens on Node->scaleTexture(1.0f, 20.0f); .

I'm sure I've got it set up OK, I'm using the GNU GCC compiler with the corresponding .a irrlicht file; I've even copied the .a to the local directory.

Edit: Do you want to see the full error message?
by dwfait
Mon Feb 05, 2007 9:48 pm
Forum: Beginners Help
Topic: Crash on setTextureCreationFlag
Replies: 6
Views: 208

I don't think it's that, as all the other calls to the driver pointer work, such as driver->beginScene(); driver->getTexture() etc...
by dwfait
Mon Feb 05, 2007 4:50 pm
Forum: Beginners Help
Topic: Crash on setTextureCreationFlag
Replies: 6
Views: 208

Crash on setTextureCreationFlag

Yea...I searched around and couldn't find anything but this thread here: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=6927 Seems I'm having the same problem execpt i've narrowed it down a bit by using the debugging feature of codeblocks. I get a segmentation fault on this line of code: dri...
by dwfait
Sat Feb 03, 2007 4:04 pm
Forum: Beginners Help
Topic: Class member overloading..?
Replies: 2
Views: 155

Class member overloading..?

Hi..I'm wondering if you can do something like this: class a { public: ISceneNode* Node; } class b : public a { public: ICameraSceneNode* Node; } I have code like that to similar effect in my project, and it compiles fine, but whenever a function is called that addressed the ICameraSceneNode Node, t...
by dwfait
Mon Jan 08, 2007 10:37 pm
Forum: Beginners Help
Topic: Converting strings..
Replies: 2
Views: 211

Converting strings..

Am I missing something or is there a way to convert strings between say stringc/w and c8?

Also is there a way to directly assign a string to a c8? like so:
c8 string1;
string1="gkldhkgj";
by dwfait
Thu Dec 14, 2006 8:22 pm
Forum: Beginners Help
Topic: Compiling help...
Replies: 2
Views: 173

Compiling help...

[quote]just include the IPhysics source directly into your project and build from source. That disposes of the need for any linking[quote]

I'm pretty new at C++, and i have no idea how to go about this. I'm using Dev C++...can anyone point me in the right direction?
by dwfait
Thu Dec 14, 2006 8:12 pm
Forum: Beginners Help
Topic: Help with IPhysics
Replies: 12
Views: 708

Is there an old version of IPhysics that works with the .a, or an updated version of the .a somewhere?
by dwfait
Thu Dec 14, 2006 6:55 pm
Forum: Beginners Help
Topic: Help with IPhysics
Replies: 12
Views: 708

Thanks, but I've been trying it with the .lib aswell and still no worky :(