Top "Game-physics" questions

Game Physics is about implementation, creation, optimization and any other thing related to physics in games.

How to prevent colliders from passing through each other?

I am having trouble keeping game objects inside of a contained space. When they reach the edge, there is some …

unity3d game-physics
How to convert Euler angles to directional vector?

I have pitch, roll, and yaw angles. How would I convert these to a directional vector? It'd be especially cool …

c++ math game-physics
How to create a simple 2D game for Android?

I'm a complete newbie when it comes to game development and I need someone to point me to the right …

android game-engine game-physics
How do you use 3D graphics in Android Studio?

I am wondering how app developers create games with 3D animations and graphics. Does anyone know how those games are …

java android algorithm 3d game-physics
Smooth Keyboard Movement in Pygame

I'm using this code to have a player sprite move around a screen when the arrow keys are pressed: import …

python animation pygame sprite game-physics
Quadtree for 2D collision detection

I'm trying to use a quadtree for 2D collision detection, but I'm a little stumped on how to implement it. …

data-structures collision game-physics quadtree
How to Prevent RigidBody from passing through other colliders

I've got a coin RigidBody and walls around it with box colliders. For trial purpose I've applied the following code …

unity3d game-physics unityscript rigid-bodies
Why transforming normals with the transpose of the inverse of the modelview matrix?

I am working on some shaders, and I need to transform normals. I read in few tutorials the way you …

opengl glsl game-engine game-physics
Bullet Physics Simplest Collision Example

I'm trying to use Bullet Physics for collision detection only. I don't need it to move any objects for me …

c++ game-physics bulletphysics
Calculating X Y movement based on rotation angle?

Say I have an object in 2D space that can rotate and then should move according to its rotation angle. …

c# rotation game-physics angle