what do you mean in special ? The last snippet was all I used to rotate a user loaded mesh, with a initial start rotation torwards step n+1.
you could write that in general:
vector3df v = TargetNode->getPosition() - CurrentNode->getPosition()
vector3df angle = v.getHorizontalAngle ...
Search found 25 matches
- Sun Mar 16, 2008 7:37 pm
- Forum: Beginners Help
- Topic: Face next Position, relative to current Rotation [SOLVED]
- Replies: 15
- Views: 3775
- Sun Mar 16, 2008 1:01 pm
- Forum: Beginners Help
- Topic: Face next Position, relative to current Rotation [SOLVED]
- Replies: 15
- Views: 3775
- Sun Mar 16, 2008 7:52 am
- Forum: Advanced Help
- Topic: How to rotate a Node around a user specific axis ?
- Replies: 5
- Views: 772
How to rotate a Node around a user specific axis ?
Hi there,
as my question in the beginners forum isnt solved till now, I'm asking the last part of it here. Is it possible (btw it is) to rotate a Node around an axis != X, Y, Z ?
I'm not that into mathematics. I have the angle and the axis (vector3df). But no idea how to apply this to a Node.
Is ...
as my question in the beginners forum isnt solved till now, I'm asking the last part of it here. Is it possible (btw it is) to rotate a Node around an axis != X, Y, Z ?
I'm not that into mathematics. I have the angle and the axis (vector3df). But no idea how to apply this to a Node.
Is ...
- Fri Mar 14, 2008 7:57 pm
- Forum: Beginners Help
- Topic: Face next Position, relative to current Rotation [SOLVED]
- Replies: 15
- Views: 3775
- Fri Mar 14, 2008 6:09 pm
- Forum: Beginners Help
- Topic: Face next Position, relative to current Rotation [SOLVED]
- Replies: 15
- Views: 3775
uuuuups :D many sorry :) but i remembered you as correct author ;)
ok rogerborg, I know you've got much math skills as I read many posts searching for my problem. You were always hanging around in that interesting rotation-problem-threads so do you eventually know more than we ? I'm totally stuck ...
ok rogerborg, I know you've got much math skills as I read many posts searching for my problem. You were always hanging around in that interesting rotation-problem-threads so do you eventually know more than we ? I'm totally stuck ...
- Fri Mar 14, 2008 2:48 pm
- Forum: Beginners Help
- Topic: Face next Position, relative to current Rotation [SOLVED]
- Replies: 15
- Views: 3775
- Fri Mar 14, 2008 10:55 am
- Forum: Beginners Help
- Topic: Face next Position, relative to current Rotation [SOLVED]
- Replies: 15
- Views: 3775
- Fri Mar 14, 2008 10:11 am
- Forum: Beginners Help
- Topic: Face next Position, relative to current Rotation [SOLVED]
- Replies: 15
- Views: 3775
In my case its arbitrary. I've made a simulator which plays different agent-object relationship scenarios (read from xml). There are different objects and their positions for each step in these simulations.
I've integrated the feature to dynamically load a mesh and apply it to the selected entity ...
I've integrated the feature to dynamically load a mesh and apply it to the selected entity ...
- Fri Mar 14, 2008 9:26 am
- Forum: Beginners Help
- Topic: Face next Position, relative to current Rotation [SOLVED]
- Replies: 15
- Views: 3775
- Thu Mar 13, 2008 4:56 pm
- Forum: Beginners Help
- Topic: Face next Position, relative to current Rotation [SOLVED]
- Replies: 15
- Views: 3775
Face next Position, relative to current Rotation [SOLVED]
Hi there,
I've got a little problem with relative rotations. I spend the last hour searching for other related threads and test some found code but it does not work the way it should.
the scenario :
There is an array of positions for a SceneNode. At step 0 the user can rotate the mesh to look ...
I've got a little problem with relative rotations. I spend the last hour searching for other related threads and test some found code but it does not work the way it should.
the scenario :
There is an array of positions for a SceneNode. At step 0 the user can rotate the mesh to look ...
- Thu Mar 13, 2008 9:16 am
- Forum: Project Announcements
- Topic: irrPreSetting
- Replies: 26
- Views: 15294
- Thu Feb 28, 2008 11:11 pm
- Forum: Beginners Help
- Topic: How to resolve the color of the pixel hoverd by the mouse ?
- Replies: 1
- Views: 237
How to resolve the color of the pixel hoverd by the mouse ?
Hi there 
I'm working on a little dialog which lets u select a color. I have a window, and a texture (rainbow colors) placed in it.
Is there any simple way to get the color of the pixel in that displayed texture which is hovered by the mouse cursor ?!
greets
paddy
I'm working on a little dialog which lets u select a color. I have a window, and a texture (rainbow colors) placed in it.
Is there any simple way to get the color of the pixel in that displayed texture which is hovered by the mouse cursor ?!
greets
paddy
- Tue Feb 12, 2008 4:29 pm
- Forum: Project Announcements
- Topic: irrPreSetting
- Replies: 26
- Views: 15294
- Wed Feb 06, 2008 11:14 pm
- Forum: Advanced Help
- Topic: How to know which surface of a cube has been clicked on?
- Replies: 6
- Views: 1137
i would just place 6 seperate quads (invisible SceneNodes) with an
id (back, front, left, right, top, bottom) infront of the original cube Node an attach the invisible quads as childs of the cube SceneNode. ... then you could use getSceneNodeFromRayBB()
or do I'm thinking wrong ?! Its simple isn't ...
id (back, front, left, right, top, bottom) infront of the original cube Node an attach the invisible quads as childs of the cube SceneNode. ... then you could use getSceneNodeFromRayBB()
or do I'm thinking wrong ?! Its simple isn't ...
- Thu Jan 24, 2008 2:28 pm
- Forum: Beginners Help
- Topic: Strange include problem (src ok, but compile errors)
- Replies: 3
- Views: 529