diff --git a/extensions/community/Sprite3D.json b/extensions/community/Sprite3D.json index 5d94d3196..a3d4690b9 100644 --- a/extensions/community/Sprite3D.json +++ b/extensions/community/Sprite3D.json @@ -9,7 +9,7 @@ "name": "Sprite3D", "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/3bd33ec77ed20d3f631c6c92884728b375aa2879174bc9f289c864d0e0383d59_ghost-outline.svg", "shortDescription": "An animated sprite in 3D.", - "version": "0.1.2", + "version": "0.1.3", "description": "The 3D sprite is an object that can be moved and rotated in 3D.", "origin": { "identifier": "Sprite3D", @@ -93,6 +93,12 @@ "", " this.mesh.material = material;", "", + " if (this.mesh.material) {", + " this.mesh.material.transparent = true;", + " this.mesh.material.alphaTest = 0.5;", + " this.mesh.material.needsUpdate = true;", + " }", + "", " const hitBoxes = this.object._untransformedHitBoxes;", " if (frame.hasCustomCollisionMask) {", " let i = 0;", @@ -178,6 +184,7 @@ "ambientLightColorB": 200, "ambientLightColorG": 200, "ambientLightColorR": 200, + "camera2DPlaneMaxDrawingDistance": 5000, "camera3DFarPlaneDistance": 10000, "camera3DFieldOfView": 45, "camera3DNearPlaneDistance": 3, @@ -204,6 +211,7 @@ } ], "instances": [], + "editionSettings": [], "eventsFunctions": [ { "fullName": "", @@ -252,7 +260,10 @@ "objectGroups": [] } ], - "propertyDescriptors": [] + "propertyDescriptors": [], + "propertiesFolderStructure": { + "folderName": "__ROOT" + } } ] } \ No newline at end of file