Remove Code Remove Collision Remove Debug
article thumbnail

Best Practices for Sharing Code Between Cocos Creator 3 Projects

Cocos

Best Practices for Sharing Code Between Cocos Creator Projects Hello fellow developers, I’m currently exploring efficient ways to share reusable code across different projects in Cocos Creator and would appreciate your insights on two methods I’m considering: Git submodules and NPM packages. Has anyone else faced similar challenges?

Code 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

Developer Shares Building Fabrics, Ropes, And Soft Bodies

Cocos

or better : with 3D scenes Origins Two days ago, I saw a fun effect: The article was: Dazzling HTML5 Front End Design Source Code Analysis Notes - Remnant Clothes Effect Example: Tearable Grid It is an effect that I’ve seen before and recently brushed up on. So I researched the code and prepared to port it to Cocos.

Build 98
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 ). Export: Fix missing "debug"/"release" export presets feature tags ( GH-71274 ). Physics: Fix sphere-capsule collision logic ( GH-70660 ). See the list below.

Beta 106
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 ). Export: Fix missing “debug”/”release” export presets feature tags ( GH-71274 ). iOS: Check Xcode output and display errors if code signing, project build or.ipa export failed ( GH-71212 ).

Beta 81
article thumbnail

Open Source Simulation Expands with NVIDIA PhysX 5 Release

Nvidia

All CPU source code is available under the simple BSD3 open source license, and NVIDIA GPU binaries are included at no cost. This is a first step in the process of opening up more and more Omniverse source code. This informed the decision to return to the more permissive licensing terms used for PhysX 4.

article thumbnail

Dev snapshot: Godot 4.0 beta 3

Mircosoft Game Dev

Vitika Soni ( Vitika9 ) reworked the features and user experience of Godot’s ColorPicker during Google Summer of Code 2022. Our SCons setup used to have tools and target options that were combined to build either the editor or the export templates, and define whether it’s a “release” or “debug” build.

Beta 52