• Advertisement
Sign in to follow this  

Meters to pixels?

This topic is 4181 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When you calculate the delta time, it most likely returns the meters in change. (If not pretend it does, lol) This is perfect for a 3D world, because you adjust the 3D engine on any measurement system, inches, meters, feet, etc... But how would you do this for a 2D world that is based in pixels?

Share this post


Link to post
Share on other sites
Advertisement
When you calculate delta time you get change in time, not change in meters. No amount of pretending is going to change units from time to distance. You can calculate displacement of an object by multiplying the change in time by a velocity, be it in terms of meters per second or pixels per second.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement