thanks I understand you.
Search found 36 matches
- Wed Aug 29, 2007 3:33 pm
- Forum: Beginners Help
- Topic: [SOLVED] Turn arround an Axis?
- Replies: 26
- Views: 1389
- Wed Aug 29, 2007 2:42 pm
- Forum: Beginners Help
- Topic: [SOLVED] Turn arround an Axis?
- Replies: 26
- Views: 1389
- Wed Aug 29, 2007 2:13 pm
- Forum: Beginners Help
- Topic: [SOLVED] Turn arround an Axis?
- Replies: 26
- Views: 1389
core::matrix4 matrix1; matrix1.setRotationDegrees(planetAxisRotation); core::matrix4 matrix2; matrix2.setRotationDegrees( core::vector3df(0, pRrotation, 0) ); matrix1 *= matrix2; planet->setRotation( matrix1.getRotationDegrees() ); The code is working. Why using two rotation (matrix1 and matrix2) t...
- Wed Aug 29, 2007 12:04 pm
- Forum: Beginners Help
- Topic: [SOLVED] Turn arround an Axis?
- Replies: 26
- Views: 1389
Well, probably not. I think your code would not work if you rotate your planet axis. I'm sure, my code is working fine and my planet do the two rotations : the relative rotation (arround it self) and the global rotation (arround the star). Your code animates the cube by the result of the two animat...
- Wed Aug 29, 2007 9:32 am
- Forum: Beginners Help
- Topic: [SOLVED] Turn arround an Axis?
- Replies: 26
- Views: 1389
- Wed Aug 29, 2007 8:52 am
- Forum: Beginners Help
- Topic: [SOLVED] Turn arround an Axis?
- Replies: 26
- Views: 1389
- Wed Aug 29, 2007 7:43 am
- Forum: Beginners Help
- Topic: [SOLVED] Turn arround an Axis?
- Replies: 26
- Views: 1389
- Tue Aug 28, 2007 5:01 pm
- Forum: Project Announcements
- Topic: Bullet physics demo
- Replies: 69
- Views: 47661
- Tue Aug 28, 2007 10:23 am
- Forum: Beginners Help
- Topic: [SOLVED] Turn arround an Axis?
- Replies: 26
- Views: 1389
Hi all, I am using this code to have the animation shown in the picture. But I can not see the correct animation. f32 gradius = 1.0f; //Current rotation matrix4 currentRotation; currentRotation= node1->getRelativeTransformation(); //Constant rotation1 matrix4 constRotation1; //SUN Axis constRotation...
- Mon Aug 27, 2007 4:35 pm
- Forum: Beginners Help
- Topic: [SOLVED] Turn arround an Axis?
- Replies: 26
- Views: 1389
- Mon Aug 27, 2007 4:18 pm
- Forum: Beginners Help
- Topic: [SOLVED] Turn arround an Axis?
- Replies: 26
- Views: 1389
void CSceneNodeAnimatorFlyCircle::animateNode(ISceneNode* node, u32 timeMs) { if ( 0 == node ) return; const f32 t = (timeMs-StartTime) * Speed; //the problem is here [b]core::vector3df circle(Radius * sinf(t), 0, Radius * cosf(t));[/b] circle = circle.crossProduct ( Direction ); node->setPosition(...
- Mon Aug 27, 2007 3:39 pm
- Forum: Beginners Help
- Topic: [SOLVED] Turn arround an Axis?
- Replies: 26
- Views: 1389
I can not have a correct animation with this:
is there a bug in createFlyCircleAnimator?
Code: Select all
scene::ISceneNodeAnimator* anim = smgr->createFlyCircleAnimator(core::vector3df(0,1,0),20.0f,0.0005f,core::vector3df(1,0,0));
box1_node->addAnimator(anim);
anim->drop();
- Mon Aug 27, 2007 2:15 pm
- Forum: Beginners Help
- Topic: [SOLVED] Turn arround an Axis?
- Replies: 26
- Views: 1389
[SOLVED] Turn arround an Axis?
Hi All;
How can I make a node turn arround an axis?
I can just rotate it around him self
How can I make a node turn arround an axis?
I can just rotate it around him self
- Sat Aug 25, 2007 11:44 am
- Forum: Beginners Help
- Topic: Saving Irrlicht Context to Video file?
- Replies: 2
- Views: 292
- Fri Aug 24, 2007 10:06 am
- Forum: Beginners Help
- Topic: Saving Irrlicht Context to Video file?
- Replies: 2
- Views: 292
Saving Irrlicht Context to Video file?
Hi all;
How can I Save Irrlicht Context to Video file? (mpeg or others). (without any software)
I need what classes can provide such service in irrlicht.
How can I Save Irrlicht Context to Video file? (mpeg or others). (without any software)
I need what classes can provide such service in irrlicht.