Search found 15 matches

by igorfk
Sat Mar 29, 2008 9:31 pm
Forum: Code Snippets
Topic: (C++) Smooth Alignment of Up-Vector (p.E to floor)
Replies: 2
Views: 3715

alien,

how is the un-smoothed version of this code?

and how are you getting the "const vector3df repulsion;" value?
by igorfk
Fri Mar 21, 2008 6:28 pm
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125705

ops, sorry if sounds like that.
I'm asking this here because, when I'd tried to compile here, I had lots of errors. The round() function I could solve thanks to past posts here, but there is a camerabody_fps that's trying to instantiate an abstract class and I cant figure out how to fix it.
by igorfk
Fri Mar 21, 2008 5:32 am
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 125705

Does anynody compiled for irrlicht 1.4?
by igorfk
Thu Mar 20, 2008 5:33 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Free Flight (space flight) functions
Replies: 64
Views: 75037

Excellent help!
What about using two keys simultaneously, to turn the ship while moving? How it would be made?
by igorfk
Wed Mar 19, 2008 5:11 pm
Forum: Beginners Help
Topic: how to keep the mesh aligned with the plane(s) below
Replies: 5
Views: 485

where (x1,y1) is the contact point on a plane and (x2,y2) on the other plane. I'll try to use this formula (y2-y1)/(x2-x1) to get the Z axis inclination between those two points. For the X axis inclination I'll do the same but with contact points at (y,z). I'll have to do like JP said, use two rays ...
by igorfk
Sun Mar 16, 2008 6:28 pm
Forum: Beginners Help
Topic: how to keep the mesh aligned with the plane(s) below
Replies: 5
Views: 485

Exactly JP I think this image illustrates better the problem: when the mesh bounding box is over a single plane it's easy to find the bbox inclination, but when it's over two planes, with diferent angles, that inclination varies with the bbox position. Well, what math formula I have to apply to get ...
by igorfk
Sun Mar 16, 2008 6:00 am
Forum: Beginners Help
Topic: how to keep the mesh aligned with the plane(s) below
Replies: 5
Views: 485

how to keep the mesh aligned with the plane(s) below

with the basic collision detection, explained in the tutorials, this is the way I can make some mesh climb a mountain (for example), the mesh stay aligned with the world axis, not realistic at all =). http://img522.imageshack.us/img522/527/planecdofp0.png What's the trick to make the mesh stay align...
by igorfk
Thu Mar 13, 2008 9:45 pm
Forum: Beginners Help
Topic: Face next Position, relative to current Rotation [SOLVED]
Replies: 15
Views: 3151

You should already think in that, but, what about store the last position in three temporary variables, x, y and z, for example?
by igorfk
Thu Mar 13, 2008 4:54 pm
Forum: Beginners Help
Topic: Proper initialization for a derived abstract class
Replies: 1
Views: 468

Proper initialization for a derived abstract class

Hi people, How do I derive and then initializate an abstract class? I have this header file //classCTrack.h class CTrack { public: CTrack(); virtual ~CTrack(); void set_Track(stringc trackName,ISceneManager* levelMgr,IPhysicsManager* plevelMgr); private: IPhysicsNode* ptrackNode; //want to derive an...
by igorfk
Wed Mar 12, 2008 3:29 am
Forum: Project Announcements
Topic: Tumle v1.4 irrlicht/newton
Replies: 80
Views: 27444

:) you're right Halifax fixed now. still, the node dont want to receive arguments, but I think I'm getting more close to solve this. Is there some rule against declare abstract members in a class header? Like this node in the classTruck.h: ISceneNode* truckNode; and then try to assign some value in ...
by igorfk
Tue Mar 11, 2008 8:06 pm
Forum: Project Announcements
Topic: Tumle v1.4 irrlicht/newton
Replies: 80
Views: 27444

Thank you very much Halifax!
But even using addAnimatedMeshSceneNode the node still receives nothing

p.s.: this line in the main file must be commented

Code: Select all

ISceneManager* truckMgr = device->getSceneManager();
by igorfk
Tue Mar 11, 2008 6:26 pm
Forum: Project Announcements
Topic: Tumle v1.4 irrlicht/newton
Replies: 80
Views: 27444

Don't know if this is the right place to ask. I have a problem assigning a node values, my code compiles without any errors or warnings, but renders nothing when runned, and displaying the message: "TUMLE:no node passed" When debuging I noticed that this node have no values assigned [img=h...
by igorfk
Sun Mar 09, 2008 4:15 pm
Forum: Advanced Help
Topic: Tumle: "no mesh" error on already loaded mesh
Replies: 10
Views: 673

You're all right! =) first, this is not the proper place to ask such question, next time I'll post in the correct forum section, with more detailed code. Btw, can I move this topic by myself? Second, I'll review it's documentation again. Third, sometimes I, unconsciously, read "tumbler" th...
by igorfk
Sat Mar 08, 2008 11:51 pm
Forum: Advanced Help
Topic: Tumle: "no mesh" error on already loaded mesh
Replies: 10
Views: 673

Tumle is a newton wraper for irrlicht.

after that error the application crashes.
by igorfk
Sat Mar 08, 2008 10:55 pm
Forum: Advanced Help
Topic: Tumle: "no mesh" error on already loaded mesh
Replies: 10
Views: 673

Tumle: "no mesh" error on already loaded mesh

Hi people, after compiling my code without errors or warnings I get this error in runtime: Loaded mesh: track01.ms3d Needed 1ms to create OctTree SceneNode.(14 nodes, 650 polys) TUMLE: passed node has no mesh, passed mesh used to create level collision Part of my code: IrrlichtDevice* device = creat...