Irrlicht Engine
Official forum of the Irrlicht Engine
Skip to content
Search
Advanced search
Quick links
Unanswered topics
Active topics
Search
FAQ
Login
Register
Board index
Search
Search
Search found 3 matches
Go to advanced search
Search
Advanced search
Search found 3 matches • Page
1
of
1
by
Kirill
Thu Dec 14, 2006 7:53 pm
Forum:
Beginners Help
Topic:
rotation doesn't stop
Replies:
5
Views:
781
i look at help and found "better" solution: i change getPosition() in the first line to getAbsolutePosition() and it works
now i have in cr world position
cr = node6->getAbsolutePosition();
x4=cr.X;
y4=cr.Y;
z4=cr.Z;
Jump to post
by
Kirill
Thu Dec 14, 2006 2:33 pm
Forum:
Beginners Help
Topic:
rotation doesn't stop
Replies:
5
Views:
781
I've done it like this, but it doesn't help
cr = node6->getPosition();
x4=cr.X;
y4=cr.Y;
z4=cr.Z;
if (z10 > 0)
a = -1;
else
if (z10 < 0)
a = 1;
else a=0;
cosfi1=(x4)/sqrt((x4)*(x4) + (z4)*(z4));
cosfi2=(x10)/sqrt((x10)*(x10) + (z10)*(z10));
if (cosfi1>cosfi2)
OmegY = a * DeltOmeg ...
Jump to post
by
Kirill
Thu Dec 14, 2006 1:04 am
Forum:
Beginners Help
Topic:
rotation doesn't stop
Replies:
5
Views:
781
rotation doesn't stop
here is main loop:
while(Device->run() && driver)
if (Device->isWindowActive())
{
driver->beginScene(true, true, video::SColor(150,50,50,50));
pv = node->getPosition();
pv1 = node3->getPosition();
pv2 = node8->getPosition();
pv3 = node5->getPosition();
pv4 = node6->getPosition();
pv10 ...
Jump to post
Display:
All results
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Sort by:
Author
Post time
Forum
Topic title
Post subject
Direction:
Ascending
Descending
Search found 3 matches • Page
1
of
1
Go to advanced search
Jump to
Irrlicht Help
↳ Beginners Help
↳ Advanced Help
↳ FAQs, Tutorials, Howtos, and external tool lists
Irrlicht Programming
↳ Code Snippets
↳ Bug reports
↳ Jirr
Other Irrlicht Stuff
↳ Project Announcements
↳ Competition Time!
↳ Open Discussion and Dev Announcements
↳ Off-topic
Game Development
↳ Everything 2d/3d Graphics
↳ Game Programming
↳ Game Assets
Locked Forums
↳ Irrlicht.NET