Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Apr 5, 2021
1 parent 4ebd19b commit 85892d3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ eclipse {
repositories {
mavenLocal()
mavenCentral()
maven githubPackage.invoke("jmePhonon")
maven githubPackage.invoke("riccardobl")

}
Expand Down Expand Up @@ -67,9 +68,7 @@ dependencies {
}


task downloadResources(type: Exec){
commandLine 'bash','prepare.sh'
}


task buildFatJar(type: Jar) {

Expand Down
5 changes: 0 additions & 5 deletions prepare.sh

This file was deleted.

5 changes: 4 additions & 1 deletion src/main/java/JaimesHut.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@

import wf.frk.f3b.jme3.F3bKey;
import wf.frk.f3b.jme3.F3bLoader;
import wf.frk.f3b.jme3.physicsloader.impl.bullet.BulletPhysicsLoader;
import wf.frk.f3b.jme3.runtime.F3bPhysicsRuntimeLoader;

/**
Expand Down Expand Up @@ -155,8 +156,10 @@ public void simpleInitApp() {




BulletPhysicsLoader phyLoader=new BulletPhysicsLoader();
phyLoader.useCompoundCapsule(true);
F3bKey key=new F3bKey("scene.f3b")
.usePhysics(phyLoader).useEnhancedRigidbodies(true)
.useEnhancedRigidbodies(true)
.useEnhancedGhostbodies(true);

Expand Down

0 comments on commit 85892d3

Please sign in to comment.