uhm.. i'am not getting it to work... is there a way to force it to (0,0,0) on some way ( just temporarly ) untill i know how it works??
Greetzz
Search found 9 matches
- Fri Feb 11, 2011 5:04 pm
- Forum: Beginners Help
- Topic: node->SetPosition()
- Replies: 8
- Views: 2160
- Sat Feb 05, 2011 7:57 pm
- Forum: Beginners Help
- Topic: node->SetPosition()
- Replies: 8
- Views: 2160
set all the parent's position to 0 uhm.. how ?:P iam loading it from a irr file and while looping over all of the nodes setting its postion to 0.. this will f*ck up my complete world :) becuase all of the nodes have there own position in the irr file :) and after setting it to 0 all the nodes will ...
- Fri Feb 04, 2011 9:02 pm
- Forum: Beginners Help
- Topic: node->SetPosition()
- Replies: 8
- Views: 2160
- Fri Feb 04, 2011 8:45 pm
- Forum: Beginners Help
- Topic: node->SetPosition()
- Replies: 8
- Views: 2160
node->SetPosition()
Hi, Iam trying to update the position of my node.. but for some weird reason it doesn't go to the place iam telling it to go to.... example: ISceneNode *Spawn = spawnPoint[nr].Node; // the spawnpoint it needs to spawn on.. player[active].Node->setPosition(Spawn->getPosition()); Spawn->getPosition();...
- Wed Nov 10, 2010 5:29 pm
- Forum: Beginners Help
- Topic: rolling ball
- Replies: 7
- Views: 464
- Wed Nov 10, 2010 3:22 pm
- Forum: Beginners Help
- Topic: collision on animated mesh loaded with coppercube
- Replies: 2
- Views: 566
i finaly got it working.. i needed to @ it to my meta selector.. because i already added a animator to my player node.. so now it is working // loop over all of the nodes // then in a switch case ESNT_ANIMATED_MESH: selector = smgr->createTriangleSelector(((IAnimatedMeshSceneNode*)node)->getMesh(), ...
- Wed Nov 10, 2010 1:58 pm
- Forum: Beginners Help
- Topic: rolling ball
- Replies: 7
- Views: 464
- Tue Nov 09, 2010 11:37 am
- Forum: Beginners Help
- Topic: rolling ball
- Replies: 7
- Views: 464
rolling ball
Hi, iam trying to rotate a ball in the direction the ball is going.. but iam not sure how to do this.. maby you guys can help me out a little :) ball positioning is done with vector3df pos = vector3df(x,y,z); ball_node->setPosition(pos); And also iam wondering if the ball rolls off a curtain angled ...
- Tue Nov 09, 2010 11:33 am
- Forum: Beginners Help
- Topic: collision on animated mesh loaded with coppercube
- Replies: 2
- Views: 566
collision on animated mesh loaded with coppercube
Hi,, iam trying to get a collision on a animated mesh format ".x" iam getting the node like this.. smgr->getSceneNodeFromName("AnimatedMesh1"); and if iam correct you need to make a triangle selector ITriangleSelector* selector=0; selector = smgr->createTriangleSelectorFromBoundi...