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,

article thumbnail

[WIP] Voxel World Engine (Minecraft-like world generation)

Cocos

Added a few performance fixes and proper water mesh material, still need to fix the collision and add the world reference to the chunk to fill a few faces Next steps: Add service workers to generate the world faster Add biomes layer generation Add dynamic mesh for dig mechanics

Mesh 52
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

What is the main difference between the 2D Physics System

Cocos

Builtin 2d physics is just collision detection, no engine used. We only use Box2d as full featured physics engine for 2D You can try the demo here GitHub GitHub - cocos/cocos-example-physics: Samples for 3d physics Samples for 3d physics. Contribute to cocos/cocos-example-physics development by creating an account on GitHub.

article thumbnail

#Drive Rally by Pixel Perfect Dude is a love letter to the golden age of rally games

PreMortem.Games

Ultimately, we decided to create our custom physics engine, using NWH Wheel Collider as a base for collisions and writing every part of car physics from scratch. Developing our own engine was challenging, requiring extensive testing and iteration, but it was crucial for delivering the racing experience we envisioned.”

Pixel 152
article thumbnail

Rect/containsPoint and collider components

Cocos

I read the forum post about not using the physics engine to keep things simple. Using that approach, I was wondering if you need the non-physics collision system to make rect and containsPoint work for collisions other than just rectangle to rectangle collisions.

Polygon 40
article thumbnail

The Showdown: Unity Vs. Godot Vs. Buildbox Vs Unreal Engine

SOVEREIGN MOON

SOVEREIGN MOON PRESENTS… Game Engine Showdown: Unity vs. Godot vs. Buildbox vs. Unreal Engine. In this game engine faceoff, we’ll explore each game engine’s visual scripting tools to see which engine is the best for beginner game makers and non-coders. . Read the Full Tutorial ?

Engine 52
article thumbnail

Rect/containsPoint and collider components

Cocos

If you want to set a collision with a circle you should implement it your self( but I might be wrong). I’ll be using the physics engine then. rudiHammad: rectangle with rectangle. That’s good to know, thanks.