UPBGE 0.3 - swim, float, buoyancy, waves

Hi,

here are some ressources for swimming objects.

  1. using empties as helpers
    03_float.blend (909.9 KB)

  2. without empties
    a) using centerpoints on faces
    easy setup but not recommended for object with many faces
    03_float_centroid.blend (881.2 KB)
    b) using the 6 sides of object dimensions
    easy setup
    03_float_dimensions.blend (952.3 KB)

  3. virtual waves
    simple solution instead of reading real geometry or texture of a waterplane
    simple drawLine-visualization of waves for debug
    on method 1:
    03_float_waves.blend (914.1 KB)
    on method 2b:
    03_float_dimensions_waves.blend (889.9 KB)

3 Likes

Amazing!!!

1 Like