Skip to content

Commit 25eeb99

Browse files
committed
[Reviewed] [3D particles] Fix the rotation around X axis to be the other way
1 parent e012fbe commit 25eeb99

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

extensions/reviewed/ParticleEmitter3D.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "ParticleEmitter3D",
1010
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/f2e5a34bf465f781866677762d385d6c8e9e8d203383f2df9a3b7e0fad6a2cb5_fire.svg",
1111
"shortDescription": "Display a large number of particles in 3D to create visual effects in a 3D game.",
12-
"version": "2.2.0",
12+
"version": "3.0.0",
1313
"description": [
1414
"3D particle emitters let you create and display many small particles to simulate visual effects in your game — like fire, explosions, smoke, or dust.",
1515
"",
@@ -34,6 +34,10 @@
3434
"IWykYNRvhCZBN3vEgKEbBPOR3Oc2"
3535
],
3636
"changelog": [
37+
{
38+
"version": "3.0.0",
39+
"breaking": "- the object rotate the other way around X axis."
40+
},
3741
{
3842
"version": "2.0.0",
3943
"breaking": "- Object properties for position and rotation have been removed. They must be set with the instance editor or the action."
@@ -77,9 +81,7 @@
7781
" const threeObject3D = this.get3DRendererObject();",
7882
"",
7983
" threeObject3D.rotation.set(",
80-
" // TODO The rotation on X goes the wrong way.",
81-
" // Increment the major and remove this sign.",
82-
" - gdjs.toRad(this._object.getRotationX()),",
84+
" gdjs.toRad(this._object.getRotationX()),",
8385
" gdjs.toRad(this._object.getRotationY()),",
8486
" gdjs.toRad(this._object.angle)",
8587
" );",

0 commit comments

Comments
 (0)