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: 2630
- Sat Feb 05, 2011 7:57 pm
- Forum: Beginners Help
- Topic: node->SetPosition()
- Replies: 8
- Views: 2630
- Fri Feb 04, 2011 9:02 pm
- Forum: Beginners Help
- Topic: node->SetPosition()
- Replies: 8
- Views: 2630
- Fri Feb 04, 2011 8:45 pm
- Forum: Beginners Help
- Topic: node->SetPosition()
- Replies: 8
- Views: 2630
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 ...
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 ...
- Wed Nov 10, 2010 5:29 pm
- Forum: Beginners Help
- Topic: rolling ball
- Replies: 7
- Views: 647
- Wed Nov 10, 2010 3:22 pm
- Forum: Beginners Help
- Topic: collision on animated mesh loaded with coppercube
- Replies: 2
- Views: 690
- Wed Nov 10, 2010 1:58 pm
- Forum: Beginners Help
- Topic: rolling ball
- Replies: 7
- Views: 647
- Tue Nov 09, 2010 11:37 am
- Forum: Beginners Help
- Topic: rolling ball
- Replies: 7
- Views: 647
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 ...
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 ...
- Tue Nov 09, 2010 11:33 am
- Forum: Beginners Help
- Topic: collision on animated mesh loaded with coppercube
- Replies: 2
- Views: 690
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->createTriangleSelectorFromBoundingBox ...
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->createTriangleSelectorFromBoundingBox ...