What are teh units of Irrlicht in? meter/sec, foot/sec, ...?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Gustav

What are teh units of Irrlicht in? meter/sec, foot/sec, ...?

Post by Gustav »

What are the values of units in rotation in createCircleFlyAnimator() and rotating an object around itself? like m/s, or ft/s, or what? Cuz I have to rotate the Earth about it's axis for 1/100 of the original day time, and can't figure out the formula. Is there a formula? Or given values by trail and failure? Any help will be appreciated.
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

The answer is:

It's whatever scale you want to use. Like all other 3D api's and just straight pure 3D, you define the size by making an object in relation to another object.

So, if you want something to move 1000 of your units, make it do that. Just keep in mind that if you have something that is 10000000000000 units big, the renderer will have major problems.

"Normal 3d scale" is usually 1000 units is the max rendering distance and 1 is the closest. The reason for this is how the lens works and takes a lot of 3D theory to completely explain.

In my mind, and since my game is small scale, 1 unit is 1 meter. In a space sim, 1 unit would be better thought of as 10 meters+.
Crud, how do I do this again?
t

Post by t »

The earth takes roughly 24 hours to rotate (the actual figure is slightly different, I think). There are 360 degrees in a full rotation.. so that's 360 degrees every 24 hours.. 360 / 24 = 30 degrees per hour. 0.5 degrees per minute.

Did I misunderstand the question?

What do you mean by "the original day time" ?
unknown_usr
Posts: 14
Joined: Thu Oct 02, 2003 7:03 pm

Post by unknown_usr »

Allso large objects (like 60000+ units across) look realy wierd when rendered. The edges become "wavy".
Post Reply