Thx vitek!
I've eliminated all local (unnecessary) nodes and the class now will take an array of global nodes. It works now and it seems simple. Now I'll try getting this node to do some decision-making...
edit: and i'll try sticking to code conventions, but its hard getting into the habit ...
Search found 3 matches
- Sat Sep 09, 2006 4:25 pm
- Forum: Beginners Help
- Topic: node movement in classes
- Replies: 3
- Views: 415
- Fri Sep 08, 2006 8:15 pm
- Forum: Beginners Help
- Topic: node movement in classes
- Replies: 3
- Views: 415
node movement in classes
If anyone can at least give me a clue on what I'm missing here, it would be great. I'm trying to learn how to work with c++ classes in Irrlicht and here's my yet half-baked problem:
class creature
{
ISceneNode* creature_node; //the node
vector3df c_pos; //position of the node
public ...
class creature
{
ISceneNode* creature_node; //the node
vector3df c_pos; //position of the node
public ...
- Fri Jul 28, 2006 6:09 pm
- Forum: Off-topic
- Topic: An artist in a programmers world. And how it does suck.
- Replies: 12
- Views: 2068