article thumbnail

Prefabs with polygonCollider returning wrong collision normal

Cocos

After instantiation, I attach event listener to PolygonCollider of only the character of local player in following way. null) { console.log(z.getWorldManifold()); this.socket.send(“Collision”, { collisionVecs: { x: z.getWorldManifold().normal.x, y: z.getWorldManifold().normal.y, But in my case, they are returning the same vectors.

article thumbnail

Prefabs with polygonCollider returning wrong collision normal

Cocos

we will solve this problem in the following issue github.com/cocos/cocos-engine Prefabs with polygonCollider returning wrong collision normal opened 02:02AM - 26 Jun 23 UTC lealzhan [link] … lision-normal/58972 Hello guys, I am working on multiplayer platformer game using colyseus. y: z.getWorldManifold().normal.y,

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

Dev snapshot: Godot 4.5 dev 1

Mircosoft Game Dev

Chunk tilemap physics The current implementation of TileMapLayer uses individual collision bodies for every single cell, which is extremely wasteful and a likely cause of runtime performance issues for 2D scenes relying on physics. Rendering: Update ViewportTexture path relative to its local scene instead of the Viewport owner ( GH-97861 ).

Dev 76
article thumbnail

Dev snapshot: Godot 4.4 beta 1

Mircosoft Game Dev

GH-94783 ) Change NavigationMesh to also parse collision shapes by default. This is part of an effort to encourage users to use collision shapes for NavigationMesh instead of visual meshes as collision shapes are much simpler and thus more efficient for Navigation. ( GH-95013 ) XR: Disable hand tracking by default.

Beta 106
article thumbnail

Dev snapshot: Godot 4.0 beta 9

Mircosoft Game Dev

Editor: Add one-way indicator to tile collision editor ( GH-67283 ). GUI: Copy local theme overrides from Control to Window ( GH-69353 ). Physics: Fix 2D & 3D Continuous Collision Detection sometimes adjusting velocity too much ( GH-69934 ). Core: Handle corner cases for curve baking ( GH-69726 ).

Beta 99
article thumbnail

Dev snapshot: Godot 4.0 beta 15

Mircosoft Game Dev

Cleanup and unify keyboard input, adds new Key Label property for localized key mappings ( GH-70052 ). Input: Cleanup and unify keyboard input, adds new Key Label property for localized key mappings ( GH-70052 ). Physics: Fix regression in collision detection for uniform scaling ( GH-71707 ). emojis) ( GH-71909 ).

Beta 99
article thumbnail

Dev snapshot: Godot 4.0 beta 9

Mircosoft Game Dev

Editor: Add one-way indicator to tile collision editor ( GH-67283 ). GUI: Copy local theme overrides from Control to Window ( GH-69353 ). Physics: Fix 2D & 3D Continuous Collision Detection sometimes adjusting velocity too much ( GH-69934 ). Core: Handle corner cases for curve baking ( GH-69726 ).

Beta 76