I am working on an Urho3D boilerplate template for a blog post and something is confusing me: What are the units of measurement in Urho3D?
- How big is
Urho3D::Node::SetScale( Urho3D::Vector3::ONE )? One meter in all directions? One foot in all directions? How about
Urho3D::Terrain::SetSpacing( Urho3D::Vector3::ONE )?
- How far is
Urho3D::Camera::SetFarClip( 1 )? How far is
Urho3D::Camera::SetFarClip( 100 )? What about
Urho3D::Zone::SetFogStart( 175.0f )/
Urho3D::Zone::SetFogEnd( 250.0f )?
Urho3D::Zone::SetBoundingBox( Urho3D::BoundingBox( Urho3D::Sphere( Urho3D::Vector3::ZERO, 200 ) ) )?
- How can I tell when something is relative (like
Urho3D::RigidBody::SetFriction()) as opposed to absolute (like
Urho3D::Node::SetScale())? What is the rhyme and reason here?
- How do the absolute and relative relate to each other?
- Is it the same in the scripting languages?
To give an example, imagine I wanted to create a map of the real world out of tiles. What
Urho3D::Terrain::SetSpacing() would I use to make sure one meter in the real world is equal to one meter in the game? I assume the answer to that one is based on the number of pixels/width/height in each tile but how does that match up to the numbers input into the above? What is the math there?
It is pretty late here so I hope I was able to phrase this in a way that made sense.