Class ConfigFlag

java.lang.Object
com.jme3.bullet.objects.infos.ConfigFlag

public final class ConfigFlag extends Object
Named collision flags for use with a SoftBodyConfig.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    enable the Cluster-versus-Convex handler for rigid-versus-soft collisions
    static final int
    enable self collisions for clusters
    static final int
    enable the Cluster-versus-Cluster handler for soft-versus-soft collisions
    static final Logger
    message logger for this class
    static final int
    enable the GJK-based handler for multibody-versus-deformable face collisions
    static final int
    enable the SDF-based handler for rigid-versus-deformable collisions
    static final int
    enable the GJK-based handler for rigid-versus-deformable face collisions
    static final int
    enable the SDF-based handler for rigid-versus-deformable node collisions
    static final int
    enable the SDF-based handler for rigid-versus-soft collisions
    static final int
    enable the Vertex-versus-Face handler for soft-versus-soft collisions
    static final int
    enable the Node-versus-Face handler for soft-versus-soft collisions
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    describe(int flags)
    Generate a textual description of the specified flags.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SDF_RS

      public static final int SDF_RS
      enable the SDF-based handler for rigid-versus-soft collisions
      See Also:
    • CL_RS

      public static final int CL_RS
      enable the Cluster-versus-Convex handler for rigid-versus-soft collisions
      See Also:
    • SDF_RD

      public static final int SDF_RD
      enable the SDF-based handler for rigid-versus-deformable collisions
      See Also:
    • VF_SS

      public static final int VF_SS
      enable the Node-versus-Face handler for soft-versus-soft collisions

      If set, all nodes in the soft body must be connected by links!

      See Also:
    • CL_SS

      public static final int CL_SS
      enable the Cluster-versus-Cluster handler for soft-versus-soft collisions
      See Also:
    • CL_SELF

      public static final int CL_SELF
      enable self collisions for clusters
      See Also:
    • VF_DD

      public static final int VF_DD
      enable the Vertex-versus-Face handler for soft-versus-soft collisions
      See Also:
    • SDF_RDF

      public static final int SDF_RDF
      enable the GJK-based handler for rigid-versus-deformable face collisions
      See Also:
    • SDF_MDF

      public static final int SDF_MDF
      enable the GJK-based handler for multibody-versus-deformable face collisions
      See Also:
    • SDF_RDN

      public static final int SDF_RDN
      enable the SDF-based handler for rigid-versus-deformable node collisions
      See Also:
    • logger

      public static final Logger logger
      message logger for this class
  • Method Details

    • describe

      public static String describe(int flags)
      Generate a textual description of the specified flags.
      Parameters:
      flags - the config flags to describe
      Returns:
      description (not null, may be empty)