Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Collision points detection

GameDev.Net

well, I'm working on a 3d physics engine and used the separation axis theorem (SAT), but now to realize the rotation of rigid bodies, it is necessary to find all the collision points. I've also heard about Clipping and Support Mapping methods, but haven't really figured it out. Can someone give advice or write a short pseudocode?

Collision 130
article thumbnail

OBB Collision Detection Issue

GameDev.Net

I've managed to detect collision between OBBs and to do contact generation. Hi All, I've been trying to extend Box2D Lite to 3D OBB. I'm not sure about the edge-edge though case and at first simulation works fine but later they sink through the ground. It worked fine with AABB. I can't seem to find the issue. Can anyone help me?

Collision 130
article thumbnail

Client side prediction and player to player collisions

GameDev.Net

I would like to inform myself on how does CSP work with player to player collisions, the issue I'm facing is that in my game, all clients are rendered in the past, and, if a local player (with CSP) would collide with them, the collision would always be different than the one on the server, due to that time difference.

Collision 130
article thumbnail

sweep collision detection in an impulse-based physics engine

GameDev.Net

Hello, i followed this article: [link] ​ and i would like to add a “sweep” aabb to aabb collision detection using a minkowski difference but i dont know the proper way to

Collision 130
article thumbnail

Collision detection with quads or rectangles of different size

GameDev.Net

Does the collision detection algorithm in a RTS game look different when you collide squares of different sizes?

Collision 100
article thumbnail

2D Rectangle Collision detection

GameDev.Net

I´m working on an RTS game, in which units move around in small battalions. I've been writing some code so that units sort of keep formation when given orders, unless the units are too spread, as it happens in Starcraft 2 for example.

Collision 130
article thumbnail

Collision Callbacks not triggering

Cocos

Hi, i’m relatively new on Cocos Creator, but i hope i can help you because i’m working on collision from a while me too. At your node you need add two components, RigidBody2d (Kinematic, Static or Dynamic, depends on your needs) and a BoxCollider (Circle or whatever you need).