marker in 3dmax

Roaming Ralph has a starting position in it’s model. Is it posible to place these markers in 3dmax before you export the model or do you have to make these markers manually in a text editor, if so…how do you do that…

:unamused:

Just make an empty mesh with the name startPos… and find the position in panda:
model.find("…/startPos").getPos()

I’am doing something wrong.

in 3d max, i make a plane convert it to a mesh and delete all 4 vertex, this way i get an empty mesh (i think)

when i export the model and open the egg file the empty mesh is really empty.

Here is a piece of the code of the egg file the empty mesh is called ‘test’

  <Group> Plane01 {
    <VertexPool> Plane01.verts {
      <Vertex> 0 {
        -3567.58 5755.95 0
        <UV> { 0 1 }
        <Normal> { 0 0 1 }
      }
      <Vertex> 1 {
        -3567.58 -4554.05 0
        <UV> { 0 0 }
        <Normal> { 0 0 1 }
      }
      <Vertex> 2 {
        4164.92 5755.95 0
        <UV> { 1 1 }
        <Normal> { 0 0 1 }
      }
      <Vertex> 3 {
        4164.92 -4554.05 0
        <UV> { 1 0 }
        <Normal> { 0 0 1 }
      }
    }
    <Polygon> {
      <RGBA> { 0.631373 0.631373 0.631373 1 }
      <VertexRef> { 0 1 2 <Ref> { Plane01.verts } }
    }
    <Polygon> {
      <RGBA> { 0.631373 0.631373 0.631373 1 }
      <VertexRef> { 3 2 1 <Ref> { Plane01.verts } }
    }
  }
  <Group> test {
  }
}

At which part do i fumble…

Looks indeed like a plane…

If you now load the model, and do model.find("**/Plane02).getPos() You will get the center of the plane back.