Skip to main content

Questions tagged [collision-detection]

Collision detection is the determination of whether or not two or more entities make contact with each other during gameplay.

Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

I have a skeletal mesh with a Physics Asset assigned to it as such: This skeletal mesh is used within an ACharacter with collision settings as such: And an actor which has the overlap event as such: ...
Manas R. Makde's user avatar
1 vote
0 answers
58 views

I'm creating a space sandbox game (godot 4.5), and the core of my building system is attaching parts together to create assemblies. Each assembly is one rigidbody3D that contains all the parts. Since ...
T360's user avatar
  • 11
1 vote
1 answer
256 views

Let's say I have like 500 Asteroids and I'm using SAT to determine whether a collision with the Spaceship object has happened. This would require an insane amount of CPU cycles, so it makes sense to ...
Jared Kosiba's user avatar
0 votes
1 answer
110 views

I use Unity and the player controller in the game is acting strangely. It has a Character Controller but no Rigidbody. I use CharacterController.Move to make him ...
Achie1's user avatar
  • 181
1 vote
0 answers
130 views

I have been working on (somewhat) faithfully reimplementing pacman as a sideproject and means of better learning the rust framework Bevy. However, there is one part that I really cannot quite get my ...
Vidde's user avatar
  • 11
1 vote
0 answers
116 views

So, in my breakout clone, I've encountered issues where the ball will sometimes phase through bricks and the borders if it collides with one and then immediately collides with another after. My guess ...
no good's user avatar
  • 11
1 vote
2 answers
224 views

I'm working on a 3D physics engine, and I'm trying to implement OBB/OBB collision detection. I was able to find Bullet's implementation here, that I'm trying to adapt. However, I still want to know ...
ahotpotato's user avatar
1 vote
0 answers
87 views

I'm developing a 2D game where multiple types of objects interact with each other through collisions. Currently, I'm using pygame.spritecollide() to detect ...
Daniel Hall's user avatar
0 votes
1 answer
123 views

I'm presently trying to do a sorta Starfox clone with Raylib, using the heightmap example here: https://www.raylib.com/examples/models/loader.html?name=models_heightmap In order to handle collision in ...
Reverend Speed's user avatar
0 votes
1 answer
85 views

I'm coding a simple Arkanoid/Breakout game and have problems with removing the bricks. I'm able to destroy the body but the texture is still there. I'm a beginner so is there a simple way to remove it ...
K.U's user avatar
  • 1
0 votes
0 answers
63 views

How to make circular space after collision like this? Before collision: After collision: I'am using PyGame
Jorpy's user avatar
  • 101
1 vote
1 answer
117 views

I have a 2D circle, defined from: c = circle(position = (x,y), radius = r) I also have a 2D rectangle defined from ...
nammerkage's user avatar
0 votes
1 answer
178 views

I'm making a game (shocker) in pygame and had issues with tile-based collision detection. There are 5 different non-empty tile types (pictured below) which can be rotated in increments of 90 degrees ...
Sad Robot's user avatar
1 vote
1 answer
162 views

I’m developing a 2D top down shooter where the player has a pistol. However, I've noticed that when enemies get too close, the player can't shoot them because the pistol doesn't have a collider. I ...
Javier Triviño's user avatar
0 votes
0 answers
89 views

I'm attempting to detect when a gameObject with a Capsule Collider and RigidBody attached it lands on the floor, which is a Mesh with a Mesh Collider attached it to it. Adding a tag to the Floor ...
wrappingduke's user avatar
0 votes
0 answers
60 views

I'm coding a script to make objects emit appropriate noises on contact with other objects, with different sounds for isolated impacts, sliding, and rolling. Impacts work just fine, but for the other ...
Luca Ballanzeddu's user avatar
0 votes
0 answers
189 views

I'm working on a simple 3D collision system that only needs to handle dynamic AABB vs static AABB. It needs a sliding collision response, but it doesn't need to sweep (i.e. doesn't need continuous, ...
Archduke's user avatar
0 votes
1 answer
175 views

I've been trying to fix this problem myself for ages, but I really do need help. I'm creating a BSP tree for my 3D game (baked in the map files, quake style) to replace my existing naïve collision &...
Elgen T's user avatar
0 votes
1 answer
139 views

I can't figure this out. My obstacles have a basic box collider on them and my player has a rigidbody based controller and collsion detection is set to Continous and when obstacle hits him it just ...
Ivan's user avatar
  • 379
0 votes
1 answer
84 views

I have a game where you need to cut chains, similar to Cut The Rope. I want to develop it for Android, so I need mobile controls. For detecting swipes I used ...
CheckerT's user avatar
  • 176
0 votes
0 answers
108 views

I have this function that detect the collision of two AABBs: ...
Scollier's user avatar
  • 124
2 votes
1 answer
163 views

I'm new to Unity. I was wondering what the best workflows were for placing colliders. I'm going for high performance, and I've heard that mesh colliders aren't as performant as just placing down box ...
Taylor Goeman's user avatar
0 votes
0 answers
146 views

Is this implementation of delta time in recent Game Maker reliable? var dt = delta_time / 1000000 move_and_collide(spd_h * dt, spd_v * dt,obj_world.solid_tiles); ...
Bernardo Becker's user avatar
0 votes
0 answers
458 views

I'm trying to make a simple platformer game, which has code to move the camera towards a player as they jump around. Now I have two classes: one for the player, and one for the platform. In the ...
Divyansh undley's user avatar
1 vote
1 answer
137 views

I'm developing a 2D game where the player character can attack enemies using a designated attack area (Area2D node named AttackArea). I've encountered a problem where the AttackArea is active and ...
buzzbuzz20xx's user avatar

1
2 3 4 5
50