MyWorld - Open Virtual Reality and Game Engine (ODE)
tips:
how aboat scale function like setRotation (setScale).
Example how make it,
how aboat scale function like setRotation (setScale).
Example how make it,
Code: Select all
void C3DObject::setScale(V3D * scale) {
if (getNode()) {
m_scale= scale;
getNode()->setScale(core::vector3df(scale->x, scale->y, scale->z));
}
/// else Error!
}
So is your problem now solved? If not, look readme-txt for changes I made since last revisions, especially parameters. The MyWorld-EXE's main.cpp implements the latest changes.Triple wrote:hups.. i mean i changed "protected" to "public".
I could not read your *.jpg
Thank you for scale function, I'll check it. I tried earlier, but it didn't worked for irrlicht-0.7. because the mesh was not scaled, so the big object has had small collision shape. May be it was changed allready it would be really cool - i'll try it. Thanks once more.
!!! I am going to use VC++ 7.0 !!! In order to stay up to date to newest Irrlicht versions! I hope it's no problem for you, people.
My Irrlicht&ODE-Project: http://www.lofing.de/myworld/
yes, i solved it.
how i make own MyEventReceiver / EventHandler? i dont wanna edit your code because always when you update myworld i have to write my code in your code.
So now i edit my code in own part.
why this. because in your code not have addFileOpenDialog where i need (event.GUIEvent.EventType EGET_FILE_SELECTED)-stuff.
Myworld engine is almost easy use and understand, but event-system is hard stuff.
how i make own MyEventReceiver / EventHandler? i dont wanna edit your code because always when you update myworld i have to write my code in your code.
So now i edit my code in own part.
why this. because in your code not have addFileOpenDialog where i need (event.GUIEvent.EventType EGET_FILE_SELECTED)-stuff.
Myworld engine is almost easy use and understand, but event-system is hard stuff.
[quote="Other"]
Thank you for scale function, I'll check it. I tried earlier, but it didn't worked for irrlicht-0.7. because the mesh was not scaled, so the big object has had small collision shape. May be it was changed allready it would be really cool - i'll try it. Thanks once more.
.[/quote
Not, there is same problem with irrlicht 12...
hmm. that problem is in irrlicht. ok. i think earlier it in somewhere collision system.
Thank you for scale function, I'll check it. I tried earlier, but it didn't worked for irrlicht-0.7. because the mesh was not scaled, so the big object has had small collision shape. May be it was changed allready it would be really cool - i'll try it. Thanks once more.
.[/quote
Not, there is same problem with irrlicht 12...
hmm. that problem is in irrlicht. ok. i think earlier it in somewhere collision system.
I'm thinking to change the project name and to close the sources and keep it open only to those, who joins helping developing...
The simple audio interface could look like that:
If some of you could implement it - it would be nice...
The simple audio interface could look like that:
Code: Select all
class CAuObject {
void create(void * parent) {
...
}
}
class CAuEngine {
add(CAuObject * obj) {
obj->create(this);
}
};
My Irrlicht&ODE-Project: http://www.lofing.de/myworld/
I know its simple. But if I do everything by myself - what the point to make it opensource or free?
My Irrlicht&ODE-Project: http://www.lofing.de/myworld/
-
- Posts: 3
- Joined: Thu Sep 17, 2009 6:47 am