Create project 1. go to https://jmonkeyengine.org/start/ 2. enter project name check ckeckbox andoid and download project 3. extract archive 4. open terminal 5. cd path_to_project 6. sudo nano local properties enter sdk.dir=/home/ivan/Android/Sdk save Singn application 1. run in termianl 2. keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000 3. Place my-release-key.keystore which you generated in Step 1 under project/app 4. Update your gradle.properties under project and add the following MYAPP_RELEASE_STORE_FILE=my-release-key.keystore MYAPP_RELEASE_KEY_ALIAS=my-key-alias MYAPP_RELEASE_STORE_PASSWORD=<The password you choose earlier with the keytool> MYAPP_RELEASE_KEY_PASSWORD=<The password you choose earlier with the keytool> 5. Finally you need to update your project/app/build.gradle . android { ... defaultConfig { ... } signingConfigs { release { if (project.hasPr
https://hub.jmonkeyengine.org/t/cloth-system/46547/8 The boots also need to have vertex groups setup properly to match the Armature that they’re being added to. @Override public void simpleInitApp() { Node player= (Node)assetManager.loadModel("Models/test.glb"); Node playerArmature = (Node)player.getChild("Armature"); AnimComposer playerAnim = playerArmature.getControl(AnimComposer.class); rootNode.attachChild(player); Node boots= (Node)assetManager.loadModel("Models/test2.j3o"); Geometry bootsGeom= (Geometry)boots.getChild("Sphere"); //1. Attach clothing to the animated model. playerArmature.attachChild(bootsGeom); //2 Detach the animated model from the scene rootNode.detachChild(player); //3 reload SkinningControl skinningControl = ((Node) playerArmature).getControl(SkinningControl.class);
Комментарии
Отправить комментарий