article thumbnail

Physics X bug with trigger event?

Cocos

it works for bullet physics) Note : The collision event between two triggers is not supported in the PhysX backend.

Bug 40
article thumbnail

Handle the collision of sprites

Cocos

best way to debug this kind of bugs is to activate physic debugging, add this to your code. onLoad() { PhysicsSystem2D.instance.debugDrawFlags = EPhysics2DDrawFlags.Aabb | EPhysics2DDrawFlags.Pair | EPhysics2DDrawFlags.CenterOfMass | EPhysics2DDrawFlags.Joint | EPhysics2DDrawFlags.Shape; }

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

Collision3D event.contacts[] sometimes empty onCollisionEnter?

Cocos

and trying to find out the contactPoint when 2 colliders collide The docs said that I can get the collision’s event.contacts to get contactPoints, but my test code sometimes return an epty array of contactPoint for “onCollisionEnter” Is this a bug or I need to try “onCollisionStay” (which occurs repeatedly) ? Hi, I’m using Creator 3.8.2

article thumbnail

Dev snapshot: Godot 4.0 beta 12

Mircosoft Game Dev

Physics fixes and improvements for sphere-capsule, sphere-box, sphere-cylinder, and capsule-cylinder collisions ( GH-70660 , GH-70787 ). Physics: Fix sphere-capsule collision logic ( GH-70660 ). Physics: Analytic sphere-box, sphere-cylinder, and capsule-cylinder collisions ( GH-70787 ). Bug reports. See the list below.

Beta 106
article thumbnail

10 Worst Video Game Glitches to Test Before Launching Your Next Game

iXie gaming

Also, consider patching and releasing new updates for your video game to remove bugs and glitches from the previous versions. This ensures your game is sustainable and free from bugs in the long run. Character Clipping and Collision Glitches A video game entails characters interacting with each other.

Texture 52
article thumbnail

Dev snapshot: Godot 4.0 beta 12

Mircosoft Game Dev

Physics fixes and improvements for sphere-capsule, sphere-box, sphere-cylinder, and capsule-cylinder collisions ( GH-70660 , GH-70787 ). Physics: Fix sphere-capsule collision logic ( GH-70660 ). Physics: Analytic sphere-box, sphere-cylinder, and capsule-cylinder collisions ( GH-70787 ). Bug reports. See the list below.

Beta 81
article thumbnail

Dev snapshot: Godot 4.0 beta 9

Mircosoft Game Dev

Editor: Add one-way indicator to tile collision editor ( GH-67283 ). Physics: Fix 2D & 3D Continuous Collision Detection sometimes adjusting velocity too much ( GH-69934 ). See the GitHub issue tracker for a list of known bugs in the 4.0 Bug reports. Core: Handle corner cases for curve baking ( GH-69726 ).

Beta 97