game-physics Questions
2
Solved
I'm trying to add water to my game. Except for a different background color, there isn't much to it.
However, I'd like the player-sprite to float on top of it (or halfway in it). If the player jus...
Plerre asked 16/8, 2014 at 23:4
5
The definition of rigid body in Box2d is
A chunk of matter that is so strong
that the distance between any two bits
of matter on the chunk is completely
constant.
And this is exactly what i don't...
Kimbra asked 28/6, 2011 at 4:57
6
Solved
I am using java + AndEngine in my game.
During the game i have some freezes, i looked for the information and found some steps how to optimize game performance:
Avoid GC (garbage collector) to b...
Musing asked 28/5, 2011 at 16:5
1
Solved
in my Opengl programs (before i apply perspective projection matrix) whenever i draw some object I draw it at the origin of the world coordinate system, however almost all of the Opengl tutorials s...
Trews asked 20/4, 2014 at 19:50
3
Solved
I am making a 2D sidescroller game for Android and am thinking of using Box2D for the physics. I would like to know if when using Box2D, if the framerate of the device drops from 60 fps (Android's ...
Lector asked 13/4, 2014 at 1:34
2
Solved
I have a big problem with the drawing in LibGDX. First I don´t use every physics or other complicate things in my game. I only draw sprites and put Rectangles at this for Collision Detection. I hav...
Enharmonic asked 9/3, 2014 at 15:54
3
Solved
Over the past couple of weeks I've been trying to simulate orbits in a solar system simulation I am making as part of a University module. To cut things short, my simulation is written in C++...
Espinosa asked 28/2, 2014 at 19:26
2
Solved
I have created simple, frame independent, variable time step, linear movement in Direct3D9 using ID3DXSprite. Most users cant notice it, but on some (including mine) computers it happens often and ...
Anthrax asked 25/1, 2014 at 21:11
3
Solved
I am writing a small simulation of a boat (a sailboat under power rather than sail). It has a rudder and a keel and I have most of the physics working for the thrust and drag. I have modelled the d...
Passivism asked 15/4, 2010 at 8:33
1
Solved
There are two physics bodies: an AirplaneNode:
- (id)initAirplaneNode {
self = [super initWithImageNamed:@"airplane.png"];
if (self) {
self.name = @"player";
self.physicsBody = [SKPhysicsBody ...
Miseno asked 1/11, 2013 at 5:57
2
I'm using box2d for physics simulation. I'm moving a circle using arrow keys by applying impulse on the body when ever a key is pressed. Unfortunately, the circle moves excruciatingly slow and does...
Kaila asked 8/2, 2013 at 13:59
2
Solved
I am currently writing a KDTree for a physics engine (Hobby project).
The KDTree does not contain points.
Instead it contains Axis Aligned bounding boxes which bound the different objects in the e...
Kauslick asked 8/1, 2011 at 7:41
4
Solved
I'm using this code to have a player sprite move around a screen when the arrow keys are pressed:
import pygame, sys, time
from pygame.locals import *
pygame.init()
FPS=30
fpsClock=pygame.time.C...
Thickset asked 30/12, 2012 at 1:47
2
Solved
I'm working an making a game in SFML right now, but I am getting stuck on movement without a framerate limit. Right now the only way I have figured out how to get consistent framerate on all comput...
Julio asked 19/8, 2013 at 3:42
3
Solved
Since in the digital world a real collision almost never happens, we will always have a situation where the "colliding" circle overlaps the rectangle.
How to put back the circle in the situation ...
Ghiselin asked 9/9, 2013 at 18:54
1
Solved
I'm attempting to create my own primitive 2D graphics based game engine. The core component of the game is firing different projectiles at enemies. I need to get this component working before I can...
Capriole asked 11/9, 2013 at 4:16
1
Solved
Since in the digital world a real collision almost never happens, we will always have a situation where the "colliding" balls overlap.
How to put back balls in situation where they collide perfec...
Astronomy asked 8/9, 2013 at 11:33
1
Solved
I made a soft body ball int box2d that looks like that:
Every point of the circle is a box2d body and every line is a distance joint.
How can i roll it? I don't want to change the world gravity ...
Ednaedny asked 18/8, 2013 at 10:55
1
Solved
I'm trying to inherit from Transformable and Drawable in SFML in order to make my objects... well, transformable and drawable. I'm making a simple breakout game, but perhaps I'm going about this th...
Capparidaceous asked 28/7, 2013 at 16:24
1
Solved
I'm trying to write a code using matlab that emulates a laser pointer in a way that my cat will enjoy chasing it on the screen. This is what I've done so far:
figure('menubar','none','color','k')
...
Finney asked 20/7, 2013 at 0:35
2
Solved
I'm try to get a div to drag much like a boat through water, but I'm having some trouble getting the rotation right.
Here is what I have so far:
jsFiddle
JS
var start, stop;
$('#canoe').draggabl...
Major asked 21/6, 2013 at 16:20
3
Solved
I have an application that is written to use the Bullet physics engine. I am running it on an Intel i7 2600K CPU with 8 cores. The application has to process millions of chunks of physics work, eac...
Determiner asked 22/5, 2013 at 6:19
6
Solved
Using Bullet 2.76 I'm trying to freeze an object (rigid body) so that it instantly stops moving, but still responds to collisions.
I tried setting it's activation state to DISABLE_SIMULATION, but ...
Sheryllshetland asked 10/6, 2010 at 13:52
1
Solved
I am currently doing a small turn based cannon game with XNA 4.0. The game is very simple: the player chooses the speed and angle at which he desires to shoot his rocket in order to hit another pla...
Cherycherye asked 22/5, 2013 at 21:28
7
Solved
Hey, I'm currently looking for various methods of implementing collision response in 2D video games, something similar to this tutorial Metanet has: N Tutorial I'm looking to implement something in...
Haskins asked 15/7, 2010 at 0:13
© 2022 - 2024 — McMap. All rights reserved.