|
5691 | 5691 | "name": "ShakeObject3D", |
5692 | 5692 | "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/vector-difference-ab.svg", |
5693 | 5693 | "shortDescription": "Shake 3D objects.", |
5694 | | - "version": "1.0.0", |
| 5694 | + "version": "2.0.0", |
5695 | 5695 | "description": [ |
5696 | 5696 | "Shake 3D objects with translation and rotation.", |
5697 | 5697 | "", |
5698 | | - "The 3D racing game example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://3d-racing-game))." |
| 5698 | + "The 3D racing game example uses this extension ([open the project online](https://editor.gdevelop.io/?project=example://3d-racing-game)).", |
| 5699 | + "", |
| 5700 | + "Breaking changes from 2.0.0", |
| 5701 | + "- The behavior for 3D box has been removed. The other behavior can be used for both models and boxes." |
5699 | 5702 | ], |
5700 | 5703 | "origin": { |
5701 | 5704 | "identifier": "ShakeObject3D", |
|
6974 | 6977 | ], |
6975 | 6978 | "eventsBasedBehaviors": [ |
6976 | 6979 | { |
6977 | | - "description": "Shake 3D models with translation and rotation.", |
| 6980 | + "description": "Shake 3D objects with translation and rotation.", |
6978 | 6981 | "fullName": "3D shake", |
6979 | 6982 | "name": "ShakeModel3D", |
6980 | 6983 | "objectType": "", |
6981 | 6984 | "eventsFunctions": [ |
| 6985 | + { |
| 6986 | + "fullName": "", |
| 6987 | + "functionType": "Action", |
| 6988 | + "name": "onCreated", |
| 6989 | + "sentence": "", |
| 6990 | + "events": [ |
| 6991 | + { |
| 6992 | + "type": "BuiltinCommonInstructions::Standard", |
| 6993 | + "conditions": [ |
| 6994 | + { |
| 6995 | + "type": { |
| 6996 | + "value": "ShakeObject3D::ShakeModel3D::PropertyIsStartingAtCreation" |
| 6997 | + }, |
| 6998 | + "parameters": [ |
| 6999 | + "Object", |
| 7000 | + "Behavior" |
| 7001 | + ] |
| 7002 | + } |
| 7003 | + ], |
| 7004 | + "actions": [ |
| 7005 | + { |
| 7006 | + "type": { |
| 7007 | + "value": "ShakeObject3D::ShakeModel3D::StartShaking" |
| 7008 | + }, |
| 7009 | + "parameters": [ |
| 7010 | + "Object", |
| 7011 | + "Behavior", |
| 7012 | + "0", |
| 7013 | + "" |
| 7014 | + ] |
| 7015 | + } |
| 7016 | + ] |
| 7017 | + } |
| 7018 | + ], |
| 7019 | + "parameters": [ |
| 7020 | + { |
| 7021 | + "description": "Object", |
| 7022 | + "name": "Object", |
| 7023 | + "type": "object" |
| 7024 | + }, |
| 7025 | + { |
| 7026 | + "description": "Behavior", |
| 7027 | + "name": "Behavior", |
| 7028 | + "supplementaryInformation": "ShakeObject3D::ShakeModel3D", |
| 7029 | + "type": "behavior" |
| 7030 | + } |
| 7031 | + ], |
| 7032 | + "objectGroups": [] |
| 7033 | + }, |
6982 | 7034 | { |
6983 | 7035 | "fullName": "", |
6984 | 7036 | "functionType": "Action", |
|
8253 | 8305 | ], |
8254 | 8306 | "hidden": false, |
8255 | 8307 | "name": "Object3D" |
| 8308 | + }, |
| 8309 | + { |
| 8310 | + "value": "", |
| 8311 | + "type": "Boolean", |
| 8312 | + "label": "Start to shake at the object creation", |
| 8313 | + "description": "", |
| 8314 | + "group": "", |
| 8315 | + "extraInformation": [], |
| 8316 | + "hidden": false, |
| 8317 | + "name": "IsStartingAtCreation" |
8256 | 8318 | } |
8257 | 8319 | ], |
8258 | 8320 | "sharedPropertyDescriptors": [ |
|
0 commit comments