collision Questions
2
Solved
I have a little issue with my Collision Detection System for a Game.
In the game are several structures which connect to each other. However they should not connect when there is another structure ...
Prismatic asked 15/1, 2017 at 15:23
2
Solved
I'm developing a simulation in Java where objects move around in a 2D grid. Each cell in the grid can only be occupied by one cell, and the objects move by moving from one cell to another.
This is...
Exhortation asked 21/2, 2017 at 0:16
2
Solved
My implementation of the following can be found on jsfiddle.net
I have four divs. My goal is to make them draggable around the page but NOT to allow them to overlap one another. Each can be dragge...
Aram asked 8/1, 2017 at 23:8
1
Solved
I was fiddling around with the Godot engine and tried a little game.
But I can't seem to get an info on colliding.
if is_colliding():
print ("Collision with " + get_collider())
get_node("Sprit...
4
Solved
I have a Unicode / UTF-16 encoded path. the path delimiters is U+005C '\'.
The paths are null-terminated root relative windows file system paths, e.g. "\windows\system32\drivers\myDriver32.sys"
I ...
Circus asked 15/9, 2010 at 20:12
1
Ok, so this is probably a silly question from an amateur programmer trying to experiment his way into basic use of Android graphics, but here it is.
In order to familiarize myself with 2D Android g...
Cannibalism asked 7/6, 2016 at 3:22
2
Solved
I am working through an iOS swift Tetris tutorial* and have it completed and working.
But I am puzzled about one particular aspect - the Hashable protocol.
The function:
class Block: Hashable, Pri...
4
Solved
I'm working on a 3D tile based game and I'm using AABB collision detection. For every cube that the player is intersecting, I find the axis along which the player is intersecting the cube the least...
Phasia asked 10/10, 2010 at 22:31
6
Solved
If counting from 1 to X, where X is the first number to have an md5 collision with a previous number, what number is X?
I want to know if I'm using md5 for serial numbers, how many units I can exp...
From asked 30/7, 2011 at 19:59
6
How do I find collisions between characters and images within PyGame?
I have drawn a player from an image, and have drawn the walls from tiles, so how would I detect these collisions?
2
Solved
I'm trying to write a java mobile application (J2ME) and I got stuck with a problem: in my project there are moving circles called shots, and non moving circles called orbs. When a shot hits an orb...
3
Solved
Im using the following:
import java.util.Collections;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.configuration.XMLConfiguration;
and ...
3
Solved
I need to compare file system wildcard expressions to see whether their results would overlap, by only examining/comparing the expressions.
For sake of example, we are building a utility that woul...
4
How can I properly make a GameObject attach (or "stick") to another GameObject after collision? The problem: I want the GameObject to attach after collision even if it is changing scale.
"Attach o...
Sobranje asked 21/11, 2015 at 16:49
3
Solved
Note: *A complete JSFiddle can be found at the bottom of my post*.
Problem: I am trying to destroy all enemies that touch the blue line in the center of the canvas. However, this is not the case a...
Kylstra asked 31/10, 2015 at 18:9
5
does anyone know whether bodies only collide when (body1.categoryBits & body2.maskBits) && (body1.maskBits & body2.categoryBits) ?
or do they already collide when (body1.categoryBi...
4
Solved
I setup a hero and some platforms that are moving from the top downwards.
With these I have collisionBitMasks that detect when the hero lands on a platform if the hero comes from above (to let the...
Declaim asked 4/4, 2014 at 12:46
2
I just found out murmur hash, seems to be the fastest known and quite collision resistant. I tried to dig more about the algorithm or implementation in full source code, but I am having diffi...
1
Solved
I'm writing a program in Java using JBox2D. I need to find the exact point of collision between two textures, if and when they collide.
I have the code to determine if a collision happens, and can...
1
Solved
Situation: I have two or more ships on my iOS screen. Both have different attributes like name, size, hitpoints and score points. They are displayed as SKSpriteNodes and each one has added a physic...
Forfeit asked 4/8, 2015 at 14:31
2
Solved
I've been at this for 2-3 weeks now and I still can't manage to have a proper collision detection. I have created a maze using rectangles. I want my object (which is in a Rectangle) to stop wheneve...
Centiare asked 23/6, 2015 at 16:46
3
Solved
I'm trying to use a quadtree for 2D collision detection, but I'm a little stumped on how to implement it. First of all, I'd have a quadtree which contains four subtrees (one representing each quadr...
Xuthus asked 13/2, 2011 at 1:34
2
Solved
public static ArrayList<IntPoint> getCircleLineIntersectionPoint(IntPoint pointA, IntPoint pointB, IntPoint center, int radius) {
// returns a list of intersection points between a line whic...
2
Solved
How can I define a rect collision detection smaller than image in pygame?
I'd like to have a collision patter like the second image , but I'm having a cut image when a try to set the width and heig...
3
Solved
I am using jquery-ui's autocomplete box with collision to display the autocomplete either above or below the input. What I would like is to add a class to the autocomplete element if a collision is...
© 2022 - 2024 — McMap. All rights reserved.