You can do this.
matrix4 m1 = node->getRelativeTransformation();
core::matrix4 m2;
m2.setRotationDegrees(deltaAngle);
m2 = m1*m2;
vector3df resultAngle = m2.getRotationDegrees();
node->setRotation(resultAngle);
Slower than Quaternion but who cares.
Search found 325 matches
- Wed Jul 17, 2013 12:01 pm
- Forum: Beginners Help
- Topic: setRotation()
- Replies: 11
- Views: 1534
- Tue Jul 16, 2013 5:57 pm
- Forum: Bug reports
- Topic: Irrlicht - OpenGL - Multiple Windows - irr file
- Replies: 5
- Views: 1745
Re: Irrlicht - OpenGL - Multiple Windows - irr file
Hi thgrill,
Have you resolve this issue?
Reasonly I switch to OpenGL and having the exact same problem.
The first created window looses textures on the skybox.
Also the addHillPlaneMesh only show the backface. That is render is on the bottom.
All the other windows renders find.
Regards,
vu
Have you resolve this issue?
Reasonly I switch to OpenGL and having the exact same problem.
The first created window looses textures on the skybox.
Also the addHillPlaneMesh only show the backface. That is render is on the bottom.
All the other windows renders find.
Regards,
vu
- Mon Jul 15, 2013 5:03 pm
- Forum: Code Snippets
- Topic: Manual event driven Camera
- Replies: 0
- Views: 1176
Manual event driven Camera
Hi all, Below is the camera driven by user generated mouse and keyboard events. Useful for creating editor using different gui interface. The camera has pan, zoom, rotate and keyboard input. There are some constants in the code. Ideally I want to change those value dynamically at run time, to speed ...
- Mon Jul 15, 2013 4:22 pm
- Forum: Beginners Help
- Topic: (Solved) Resize tilesize and tilecount from addHillPlaneMesh
- Replies: 2
- Views: 317
Re: How to resize tilesize and tilecount from addHillPlaneMe
Thanks hendu,
Regards,
vu
Regards,
vu
- Sun Jul 14, 2013 3:55 pm
- Forum: Beginners Help
- Topic: (Solved) Resize tilesize and tilecount from addHillPlaneMesh
- Replies: 2
- Views: 317
(Solved) Resize tilesize and tilecount from addHillPlaneMesh
Dear all
In Irrlicht is there an existing function to resize and change the tile count for the mesh created by addHillPlaneMesh?
At the moment I remove the scenenode from scenemanager and recreate a new mesh. Is this the only way to do it?
Thanks,
vu
In Irrlicht is there an existing function to resize and change the tile count for the mesh created by addHillPlaneMesh?
At the moment I remove the scenenode from scenemanager and recreate a new mesh. Is this the only way to do it?
Thanks,
vu
- Tue Jul 09, 2013 6:55 am
- Forum: Code Snippets
- Topic: Simple cloud layer SceneNode
- Replies: 71
- Views: 27538
Re: Simple cloud layer SceneNode
Nice stuff, hope it still works
- Mon Jul 08, 2013 4:27 pm
- Forum: Bug reports
- Topic: The latest SVN bugs thread
- Replies: 405
- Views: 139329
Re: The latest SVN bugs thread
Hello I think I found bug in the collision manager with the function below for version 1.8.1 1) colMgr->getSceneNodeAndCollisionPointFromRay(ray, outPoint, triangle, 0, node); a) outpoint, triangle returned correctly but node doesn't return anything. b) Rotated node will also causing offset in the c...
- Sun Jun 23, 2013 3:52 pm
- Forum: Code Snippets
- Topic: Windows form multi-windows
- Replies: 5
- Views: 2471
Re: Windows form multi-windows
Thanks mant.
I'm trying to develop a discrete event simulation software in my free time. Irrlicht seems perfect for that.
Well only if I have freetime . Goodluck with irrlicht programming .
vu
I'm trying to develop a discrete event simulation software in my free time. Irrlicht seems perfect for that.
Well only if I have freetime . Goodluck with irrlicht programming .
vu
- Fri Jun 14, 2013 4:12 am
- Forum: Code Snippets
- Topic: Windows form multi-windows
- Replies: 5
- Views: 2471
Re: Windows form multi-windows
Thanks hybrid,
Coming from C# background so I wasn't aware of dynamic list in C++. Now that I learn there is a thing call vector.
Cheers
vu
Coming from C# background so I wasn't aware of dynamic list in C++. Now that I learn there is a thing call vector.
Cheers
vu
- Wed Jun 12, 2013 8:55 am
- Forum: Code Snippets
- Topic: Windows form multi-windows
- Replies: 5
- Views: 2471
Windows form multi-windows
Hi, I'm just new to Irrlicht. About a day old. So I started to code a small gui app using C++ windows form. Anyway here is a code to show 150+ windows of the same scene. I have also test to have more than 250 windows showing the same scene from different view. [img] http://s2.postimg.org/u2yzyucax/U...