Search found 19 matches

by magicat
Mon Jun 19, 2006 9:05 pm
Forum: Advanced Help
Topic: Problem with NewtonBodyAddForce
Replies: 4
Views: 451

Its been a while since I've used Newton, but it could be like you said, it might only allow you to call AddForce once per AddForceAndTorqueEvent. I think you would be better off adding up all your forces(just add the vectors) into a total force vector in your loop, then calling NewtonBodySetForce() ...
by magicat
Sat Apr 22, 2006 5:06 pm
Forum: Beginners Help
Topic: Terrain and Newton
Replies: 2
Views: 654

Thanks Hirte! Collision with the terrain now works :D. And the car stuff in that tutorial will help me later on when adding vehicles. Thanks a lot :).
by magicat
Sat Apr 22, 2006 7:35 am
Forum: Beginners Help
Topic: Terrain and Newton
Replies: 2
Views: 654

Terrain and Newton

Can anyone show me or point me in the direction of information on using Irrlicht terrain nodes for Newton collision? I've searched around, but so far havn't been able to get anything to work. Any help would be appreciated : ).
by magicat
Thu Apr 20, 2006 12:26 am
Forum: Beginners Help
Topic: Problem with lists.
Replies: 10
Views: 443

That explains a lot CuteAlien, thanks. I was able to change it back to storing object pointers and it appears to work correctly :).
by magicat
Wed Apr 19, 2006 9:15 pm
Forum: Open Discussion and Dev Announcements
Topic: Irrlicht 1.0
Replies: 21
Views: 2585

Yay! I am quite happy to see a new version, and not only that, but 1.0! This is great. Keep up the good work :). *goes off to explore new version*
by magicat
Wed Apr 19, 2006 8:34 pm
Forum: Beginners Help
Topic: Problem with lists.
Replies: 10
Views: 443

Okay I changed it over to use the actual object, and not pointers to it. Works :). For now at least. And thanks for the pointer on passing the tGame pointers(pun intended). I had been wondering if I actualy needed to do that or not. Some code I learned off of for my game state management passed the ...
by magicat
Wed Apr 19, 2006 5:22 pm
Forum: Beginners Help
Topic: Problem with lists.
Replies: 10
Views: 443

Okay so I think somethings definitely wrong with the method I use to create new GameEntity objects. I converted from lists to vectors(which do you think is better suited for this task by the way?) and got the same result. I add objects this way, with the GameEntity::Instance() because its the way I ...
by magicat
Wed Apr 19, 2006 4:25 pm
Forum: Beginners Help
Topic: Problem with lists.
Replies: 10
Views: 443

Problem with lists.

Okay so I've been working on an "Entity Management" system for my game. Basicly any object in the game(buildings, vehicles, etc) will be an entity, so I'm using a class with a list to manage all the entities. I'm able to create my EntityManager class, and add a couple entities to it fine. ...
by magicat
Thu Apr 13, 2006 6:27 pm
Forum: Beginners Help
Topic: Can it be done with irrlicht?
Replies: 4
Views: 429

I'm not sure if Irrlicht alone can accomplish gravity, I don't think so. But, it is very easy to integrate Irrlicht with a nice phsysics engine. I recommended Newton, heres a tutorial on it if you're interested: http://irrlicht.sourceforge.net/tut_newton.html.
by magicat
Wed Apr 12, 2006 5:55 pm
Forum: Beginners Help
Topic: Slope Troubles
Replies: 5
Views: 413

I'm not sure, but I think that may just be the default behavior for FPS camera nodes when they have collisions, since it wouldnt be realistic for some one to walk straight up a steep hill. I'm sure there is a way to change it, but I'm not sure how. As for Newton, you should be able to use Irrlicht s...
by magicat
Wed Apr 12, 2006 3:16 am
Forum: Beginners Help
Topic: Open skies in GtkRadiant
Replies: 5
Views: 984

Usually maps are fully enclosed in a skybox if they're outdoor. So yeah, giving the box a sky texture would probably be your best bet. Not sure about the glass shader stuff.
by magicat
Tue Apr 11, 2006 11:28 pm
Forum: Beginners Help
Topic: hello world is not working/loading
Replies: 7
Views: 496

Make sure you are using the correct Irrlicht.dll for the compiler you are using. If you're unsure, try them all. That might be the issue.
by magicat
Tue Apr 11, 2006 3:15 pm
Forum: Beginners Help
Topic: loading a dynamic terrain map
Replies: 11
Views: 911

Heres my overloaded loadHeightMap(): bool CTerrainSceneNode::loadHeightMap( bool dynamic, video::SColor vertexColor ) { HillTerrain tTerrain; tTerrain.GenerateTerrain(); u32 startTime = os::Timer::getTime(); // Get the dimension of the heightmap data //TerrainData.Size = heightMap->getDimension().Wi...
by magicat
Tue Apr 11, 2006 10:40 am
Forum: Beginners Help
Topic: loading a dynamic terrain map
Replies: 11
Views: 911

Okay, I think I've made some progress, pretty much in the way you suggested. I'm not sure what file you were saying I should load though since the terrain will be generate from scratch. But anyways. It turned out to be more complicated than I had hoped, because of the way its set up. As it is now, t...
by magicat
Mon Apr 10, 2006 10:25 am
Forum: Beginners Help
Topic: loading a dynamic terrain map
Replies: 11
Views: 911

Yeah that would be my ideal approach. Copy the current one then change what I need. At the moment I'm still a bit confused as to how I can accomplish this though. I think the problem is mostly because I'm still a tad unsure of how inheritence works with c++, specificaly in Irrlicht. Should I just cr...