Search found 70 matches

by noals
Mon Oct 15, 2012 9:35 pm
Forum: Beginners Help
Topic: how do i add "driver" in my class (solved)
Replies: 9
Views: 609

Re: how do i add "driver" in my class

it compile with this code video::IVideoDriver* driver = SceneManager->getVideoDriver(); i didnt know i was able to use SceneManager instead of IrrlichtDevice kinda, its even more confusing lol can access all the protected members of i will keep that in mind but then i can just conclude that my class...
by noals
Mon Oct 15, 2012 5:51 pm
Forum: Beginners Help
Topic: how do i add "driver" in my class (solved)
Replies: 9
Views: 609

Re: how do i add "driver" in my class

What I was talking about was this function: yes, thats why i said : in myclass.cpp i already have the fonction and then you say : You can do the same in the other function. and then i dont understand lol. Everything is confusing when you don't know how to use. generally you have to pass it like the...
by noals
Mon Oct 15, 2012 4:20 pm
Forum: Beginners Help
Topic: how do i add "driver" in my class (solved)
Replies: 9
Views: 609

Re: how do i add "driver" in my class

see for yourself : http://hpics.li/0324d53 if i use the fonction in my constructor, i encounter the same problem with "device" so i need to redefine everything right ? but it dont work the same way because im in my class constructor, not in a int main{}. i think i better try to init it lik...
by noals
Mon Oct 15, 2012 2:36 pm
Forum: Beginners Help
Topic: how do i add "driver" in my class (solved)
Replies: 9
Views: 609

Re: how do i add "driver" in my class

in this case you already have the pointer to the videodriver yes, thats why i dont understand, im not sure how to be able to use it avoiding redefinition. i forgot to put the code about it in my first post i think. in my main.cpp usual stuff :       video::IVideoDriver*driver=device->getVideoDriver...
by noals
Mon Oct 15, 2012 1:26 pm
Forum: Beginners Help
Topic: how do i add "driver" in my class (solved)
Replies: 9
Views: 609

how do i add "driver" in my class (solved)

hi its kinda the follow up of this topic http://irrlicht.sourceforge.net/forum/viewtopic.php?f=1&t=47331 i use my class like that in my main.cpp:     //ragdoll test     scene::ImyRagdollSceneNode*playerNode = new scene::ImyRagdollSceneNode(         core::vector3df (0.0f,0.0f,0.0f),       //ragdo...
by noals
Sun Oct 14, 2012 10:18 pm
Forum: Beginners Help
Topic: i need help to make my own class (solved)
Replies: 6
Views: 619

Re: i need help to make my own class (solved)

default parameter belong to the header file not to the source file thx a lot, it compiled. :D i just had to change that :             ISceneNode* parent = 0,     //parent node             s32 id = -1                         //ID to that :             ISceneNode* parent,     //parent node           ...
by noals
Sun Oct 14, 2012 7:01 pm
Forum: Beginners Help
Topic: i need help to make my own class (solved)
Replies: 6
Views: 619

Re: i need help to make my own class

well i will use another class from irrlicht 1.7.3 as exemple i think. actualy i was able to make a class like that working years ago (my first class ever and im trying my second lol) but it was also with an old version of irrlich so i guess its maybe the source of my problem since i use my old class...
by noals
Sun Oct 14, 2012 3:56 pm
Forum: Beginners Help
Topic: i need help to make my own class (solved)
Replies: 6
Views: 619

Re: i need help to make my own class

well i though i was able to solve it but the problem is a little different than what i had in mind. 1> ImyRagdollSceneNode.cpp 1>ImyRagdollSceneNode.cpp(18): error C2572: 'irr::scene::ImyRagdollSceneNode::ImyRagdollSceneNode' : redefinition of default parameter : parameter 7 1> d:\crea4\projets\demo...
by noals
Sun Oct 14, 2012 3:44 pm
Forum: Beginners Help
Topic: i need help to make my own class (solved)
Replies: 6
Views: 619

Re: i need help to make my own class

i just needed to add the bounding box.
i have problems of redefinition now because of my .cpp but i know how to fix it.

thx for help.
by noals
Sun Oct 14, 2012 1:56 pm
Forum: Beginners Help
Topic: i need help to make my own class (solved)
Replies: 6
Views: 619

i need help to make my own class (solved)

hi, first of all, for those who noticed, few times i posted and then deleted my post, its just that i found the answers to my questions so if there is no answer yet, i just delete, sorry if it annoyed some, dunno, just telling. anyway, i try to make my own class and since im not familiar with the wh...
by noals
Mon Oct 08, 2012 11:48 am
Forum: Beginners Help
Topic: how can i get all points from terrain triangles (solved)
Replies: 14
Views: 867

Re: how can i get all points from terrain triangles (solved)

Strange that you want to use chrono instead of bullet, when chrono itself uses bullet to do the work. didnt know lol. Advanced collision methods are available thank to the Bullet collision detection engine, which is wrapped inside Chrono::Engine. chrono just seem more accessible to me when i check ...
by noals
Mon Oct 08, 2012 8:38 am
Forum: Beginners Help
Topic: how can i get all points from terrain triangles (solved)
Replies: 14
Views: 867

Re: how can i get all points from terrain triangles (solved)

And the samples included there are really simple and easy to follow once you know basic terms used in physics/engine. sorry i dont agree. the "simple" hello world example from the SDK is self explanatory from my point of view. thats not the first time i read stuff about bullet but each ti...
by noals
Mon Oct 08, 2012 6:32 am
Forum: Beginners Help
Topic: how can i get all points from terrain triangles (solved)
Replies: 14
Views: 867

Re: how can i get all points from terrain triangles (solved)

That would be infinite amount of points in theory since you're working with floating point numbers. oh yeah, didnt though about that lol. i can limit it. Why would you want that? because collision would always come first between 2 points so i need to know those points. it would need rules for exept...
by noals
Sun Oct 07, 2012 8:57 pm
Forum: Beginners Help
Topic: how can i get all points from terrain triangles (solved)
Replies: 14
Views: 867

Re: how can i get all points of something i render in irrlic

I don't get which plane you are talking about, since you showed a link triangle class I assumed you weren't sure how to get triangle points. i mean all the points that make my triangle full of points and not just 3 lines. lets say i have a triangle in 2D myTriangle(0,0; 2,0; 0,3) for exemple so all...
by noals
Sun Oct 07, 2012 3:51 pm
Forum: Beginners Help
Topic: how can i get all points from terrain triangles (solved)
Replies: 14
Views: 867

Re: how can i get all points of something i render in irrlic

Points are public members of that class. i meant the points within the triangle, those that make the plane. Creating a collision, physics engine isn't something a beginner with little knowledge of math could do. its not because some peoples needs years to learn something that some others cant under...