Loaded Model falls over

Hi,



I want to use physics in my program. Therefore

Hi,



I still have the problem with my physics. Is it right that the physics engine has still problems with trimesh?(I read sth. like that in the forum) My "world" consists of different loaded models from Blender (eg the labor room with the interior and the avatar). Can this be the cause of the problem?

I've tested a simple program, where I have only the floor and my loaded model from Blender. Here it does not fall over, but it shakes a long time.( Even if I set the material of the avatar to rubber, it jumps a lot, but does not fall over.) And when I start to move the avatar, it sinks trough the floor. I want the avatar move over the floor like normal behavior and not like a ship on the sea. :slight_smile:



Has someone an idea what can be the fault?



here is the code of the simple test:


package uk.ac.ljmu.labor.jme;

import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.net.URL;
import java.util.HashMap;
import java.util.logging.Level;

import com.jme.bounding.BoundingBox;
import com.jme.input.ChaseCamera;
import com.jme.input.ThirdPersonHandler;
import com.jme.math.Vector3f;
import com.jme.scene.Node;
import com.jme.scene.shape.Box;
import com.jme.scene.shape.Sphere;
import com.jme.util.LoggingSystem;
import com.jmex.model.XMLparser.JmeBinaryReader;
import com.jmex.model.XMLparser.JmeBinaryWriter;
import com.jmex.model.XMLparser.XMLtoBinary;
import com.jmex.model.util.ModelLoader;
import com.jmex.physics.DynamicPhysicsNode;
import com.jmex.physics.Joint;
import com.jmex.physics.util.SimplePhysicsGame;

public class PhysicsTest extends SimplePhysicsGame {
   
   private Node StickMan;
   private Node m_character;
   private ChaseCamera chaser;