Own maps with collision

Hi all,

iam new. :smiley:

I have change the map from the Roaming-Ralph sample to my own map. If I start the programm, the actor is hovering and if I push a key, he dont move.

I have open the .egg file from my map (a plane) and have this written:

<CoordinateSystem> { Z-up }

<Comment> { "Egg laid by Chicken for Blender v1.0" }

<Texture> Steinboden[1].jpg {
  "./texturen/Steinboden[1].jpg"
}
<Group> Plane {
  <Collide> { Polyset keep descend } 
  <VertexPool> Plane {
    <Vertex> 0 {
      4.661018 4.661018 0.000000
      <UV> { -0.769286 1.769286 }
    }
    <Vertex> 1 {
      -4.661017 4.661020 0.000000
      <UV> { -0.769286 -0.769286 }
    }
    <Vertex> 2 {
      -4.661020 -4.661018 0.000000
      <UV> { 1.769286 -0.769286 }
    }
    <Vertex> 3 {
      4.661018 -4.661019 0.000000
      <UV> { 1.769286 1.769286 }
    }
  }
  <Polygon> {
    <TRef> { Steinboden[1].jpg }
    <Normal> { 0.000000 0.000000 1.000000 }
    <VertexRef> { 0 1 2 3 <Ref> { Plane } }
  }
}

I dont know, what can be wrong. I hope you know what I mean.

sorry for my bad english! :blush:

thanks for help
Chrissy

It’s because the ralph code respects collisions against object named “terrain” only.
So, rename your Plane to terrain.

If you want to use gravity :
discourse.panda3d.org/viewtopic.php?t=2924

thank you very much!