Fingerguns and predicting the course of time itself!

Alright so here’s some of the stuff I learned in this lecture.
note: this is how I undersood it, I may have misunderstood something

Cartesian Coordinate Systems

Click to reveal

When working with 3D space you are working with three axes. (x, y and z)
Software can use either a lefthanded or a righthanded system.
Using one over the other effectively switches the x and y axes.

There’s some handy fingergun like gestures you can make with your hand to remember which is which.


image: wikipedia

Now I can’t picture exactly how a righthanded object would react to a lefthanded system but I can imagine it has some nasty results if done incorrectly.

Time.deltaTime

Click to reveal

When calculating new stuff like movement every frame you don’t want it to feel like you are completely dependent on how good your pc is.

A neat trick to counteract this is to multiply the amount of movement by Time.deltaTime.
This is the time it took to render the last frame, so it’s a pretty fair estimation of how long the next frame will take to render.

I can imagine on a small scale this is not always perfect but it should atleast be a lot better then not using this trick at all.

Keep it up space cowboys!

1 Like

Your explanation was short and sweet.

1 Like

Privacy & Terms