Getting/Setting Actual Mesh Size and Recommended Proportions

Hello Everyone! :slight_smile:

I have two questions:

  1. Is there a way to get and/or set the actual dimensions of a node? I meant not the scaling but the actual size of the mesh.

  2. What is the best proportion that can to be used in Panda? I mean, like probably 1 Panda unit = 1 real world foot or perhaps something like 2 Panda units = 1 real world meter.

I’m asking these cuz I’m having a hard time getting my head around scaling and distancing my actors, geometry ang camera in way that would best simulate (or at least be closest to) real world proportions.

Hope you could help me out. Thanks! :slight_smile:

  1. See this thread:
    discourse.panda3d.org/viewtopic.php?t=6936

  2. It doesn’t really matter. Well, I’ve heard that ODE likes 1 unit = 1 meter. Though I personally like to use 1 foot = 1 unit = 1 heightfield pixel, because that works well for me.

Thanks Pro-Rsoft!!!

  1. This is exactly what I was looking for. It worked. I can get actual measurements with getTightBounds. :slight_smile:

  2. I think I like the idea of 1 unit = 1 meter. Easier to think of a most compatible with ODE too.

Thank you so much for the tips. :smiley: