After a quick glance I have rewritten the OnRegisterSceneNode of CMyOtherSceneNode. It does work although it seems a bit lame. There must be a better solution to this.
CMyNode* CMyOtherNode::m_myNodeParent = instance CMyNode; // ISceneNode::Parent is still 0
void CMyOtherNode ...
Search found 6 matches
- Tue Jan 20, 2015 9:45 am
- Forum: Beginners Help
- Topic: Adding custom parent/child relation in a new ISceneNode
- Replies: 3
- Views: 773
- Mon Jan 19, 2015 11:54 pm
- Forum: Beginners Help
- Topic: Adding custom parent/child relation in a new ISceneNode
- Replies: 3
- Views: 773
Adding custom parent/child relation in a new ISceneNode
hi,
Am creating my own scenenode (CMyNode) and have a question about the children and rendering a node without any parent. Since I am learning the engine, I need some preventive advice.
The scenenode contains his own custom scenenodes (CMyOtherNode). These 'children' scenenodes shouldn't be ...
Am creating my own scenenode (CMyNode) and have a question about the children and rendering a node without any parent. Since I am learning the engine, I need some preventive advice.
The scenenode contains his own custom scenenodes (CMyOtherNode). These 'children' scenenodes shouldn't be ...
- Wed Dec 31, 2014 1:45 am
- Forum: Off-topic
- Topic: What are some good open-source Irrlicht games to learn from?
- Replies: 3
- Views: 3133
Re: What are some good open-source Irrlicht games to learn f
if you have characters in your game, and a player. Hence lets trow in some animals to just wandering around.
Then you can have something like:
class Actor{}; // maybe descending from ISceneNode
class Character : public Actor{};
class Player : public Character{};
class Animal : public Actor ...
Then you can have something like:
class Actor{}; // maybe descending from ISceneNode
class Character : public Actor{};
class Player : public Character{};
class Animal : public Actor ...
- Wed Dec 31, 2014 12:48 am
- Forum: Beginners Help
- Topic: Assertion failed (irrArray.h)
- Replies: 5
- Views: 974
Re: Assertion failed (irrArray.h)
Have to admit, don't know your debugger.
- Wed Dec 31, 2014 12:13 am
- Forum: Beginners Help
- Topic: Assertion failed (irrArray.h)
- Replies: 5
- Views: 974
Re: Assertion failed (irrArray.h)
hi Cyanotype
Assertion is just a debugging help, sounds advanced but simply put it's just an if-statement but only in debug mode (I believe).
e.g.
assert( index < size );
That will check if index is smaller then size, if not an assertion failure is given.
In practise for end-users when you ...
Assertion is just a debugging help, sounds advanced but simply put it's just an if-statement but only in debug mode (I believe).
e.g.
assert( index < size );
That will check if index is smaller then size, if not an assertion failure is given.
In practise for end-users when you ...
- Tue Dec 30, 2014 8:27 pm
- Forum: Beginners Help
- Topic: Matrices and me!
- Replies: 0
- Views: 1058
Matrices and me!
hi,
Am trying to create a camera without getting gimlocked and think matrices would be the solution for that. The camera should be able to go up-side-down and towards all directions. Only one problem there, how do they work? So I wanted to ask if there are any known tutorials about those which are ...
Am trying to create a camera without getting gimlocked and think matrices would be the solution for that. The camera should be able to go up-side-down and towards all directions. Only one problem there, how do they work? So I wanted to ask if there are any known tutorials about those which are ...