Answer the question
In order to leave comments, you need to log in
What knowledge of mathematics to create games in C ++?
Good day everyone. What knowledge of mathematics may be needed to create games in C ++, on the Unreal engine for example?
Answer the question
In order to leave comments, you need to log in
From arithmetic to homotopy or string theory. Everything depends on the project.
Linear algebra, computational geometry. Maybe the basics of physics, splines, interpolation.
You can just take it and write an arkanoid in the console, and draw it into a 64x64 char array. You can add more line segments and bounce off them.
How to rotate an object by a specific angle in OpenGL?
Where to start learning Gamedev?
What literature to buy?
In addition to mathematics (geometry), you also need to read about the logic of scenarios (scenes). Those. you need to create a world, populate it with objects (characters), for each (and for the camera, if 3D) come up with laws of motion.
To create on the Unreal engine, for example, tic-tac-toe - arithmetic will be enough.
In fact, you will definitely need linear algebra (working with vectors and matrices), a little simple trigonometry and a little simple school physics. If you want to develop your own AI in the game, then state machines, algorithms (complexity analysis will come in handy here). Some super-complicated things are unlikely to be useful if you don’t want, for example, to “invent” your own water in the game - then you will need higher mathematics (differential equations, equations of mathematical physics), geometry.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question