Questions tagged [physics]
The physics tag has no summary.
15 questions
2 votes
1 answer
202 views
Should gravity sources pull objects or objects pull themselves to gravity?
I'm doing a project in unity where I turn off the general gravity and implement it myself. What I'm trying to acheive is to have GameObjects be affected by several gravity sources on every tick. I got ...
-3 votes
1 answer
451 views
I loved developing a 2D game(C++ SDL), but i am not good at maths/physics [closed]
I developed 2 games in C++ using SDL. Without using any wrappers. I literally loved and enjoyed every part of the journey. Complex algorithms, how 2D works, rendering, audio, input etc. But i am not ...
3 votes
0 answers
91 views
How would I identify a gap in a set of curve data, and get its value?
I have a set of 2-D data (x,y) and it produces a set of curves, and sometimes the set of curves do not overlap, and there is a distinct separation between the groups of curves, how would I identify ...
1 vote
1 answer
55 views
System for deducting velocity against sources pf gravity
Say I have a particle-based physics engine (which I do) that uses lots of particles with a x and y coordinate and velocity. These particles can also have a mass, which means that these particles (with ...
4 votes
1 answer
165 views
How to define the motion path of one object on a surface of the other one?
I have an uncommon problem. There are 2 3D objects, which are represented by arrays of vertices and triangles (.stl files). Each of them contains a big enough amount of vertices: 1-10 mln ones. The ...
18 votes
12 answers
6k views
Teaching myself, as a physicist, to become a better programmer [closed]
I've always liked physics, and I've always liked coding, so when I got the offer for a PhD position doing numerical physics (details are not relevant, it's mostly parallel programming for a cluster) ...
6 votes
4 answers
16k views
confusion between these two networking terms: transmission rate vs. propagation speed [closed]
I read this in TCP/IP PROTOCOL SUITE second edition, written by Behrouz A. Forouzan and Sophia Chung Fegan. In traditional Ethernet, the minimum frame length is 520 bits, the transmission rate is 10 ...
13 votes
2 answers
6k views
Is video game programming usually physics related?
I know this is obviously not true for some games, minesweeper, card games, etc. But what about any game involving simulating the real world environment. Obviously these games have some form of a ...