article thumbnail

Destoying from scene shows all children deleted, but still childrens are visible in scene on collision. on colllision

Cocos

Destoying from scene shows all children deleted, but still childrens are visible in scene on collision : - On collision with the saw, this is happening : - onLoad() { this.animationComponent = this.node.getComponent(Animation); this.animationComponent.clips[0].name What’s happening wrong with the collision detection code?

article thumbnail

Nearing the Finish Line: Rewriting the Untold Engine

Harold Serrano

Components: The data attached to entities, like meshes, physics, or animations. Want collision? One Last Piece: The Collision System With almost every system in place, I’m now working on the Collision System—the last big piece of this rewrite. Want to add physics? setEntityKinetics(). setEntityCollision(). What’s Next?

Engine 69
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

Developer Shares Building Fabrics, Ropes, And Soft Bodies

Cocos

Analysis The whole effect can be split into two parts, one for the simulation of the mesh and one for the rendering of the mesh. No need to define the vertex format, and even Cocos has support for sprite meshes. Well, it’s very comfortable, much more comfortable than just a mesh, and it has some practicality too.

Build 98
article thumbnail

Object Placement on Terrain (Mesh)

Mnenad

This chapter is all about how I solved it (so far) to be able to place all kinds of assets like 3D-meshes or self-growing fractal seeds on the terrain. Let’s assume we do it for each vertex on a mesh with let’s say 10’000 vertices.   Asset placement - depending on mesh height vertices. Before we start.

Terrain 52
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
article thumbnail

Dev snapshot: Godot 4.0 beta 12

Mircosoft Game Dev

OBJ mesh import now supports vertex colors as exported by Blender ( GH-71033 ). 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 ). Fix Tab key usage in the inspector ( GH-71271 ).

Beta 106
article thumbnail

Dev snapshot: Godot 4.0 beta 9

Mircosoft Game Dev

Some of the most notables feature changes in this update are: 3D: Switch Mesh surface indexing to start at 0 so string name matches integer index ( GH-70176 ). Editor: Add one-way indicator to tile collision editor ( GH-67283 ). See the list of PRs with the breaks compat label for details.

Beta 98