class unreal.KSphereElem?

Bases: unreal.KShapeElem

Sphere shape used for collision

C++ Source:

  • Module: Engine
  • File: SphereElem.h

Editor Properties: (see get_editor_property/set_editor_property)

  • center (Vector): [Read-Write] Position of the sphere’s origin
  • contribute_to_mass (bool): [Read-Write] True if this shape should contribute to the overall mass of the body it
    belongs to. This lets you create extra collision volumes which do not affect the mass properties of an object.
  • name (Name): [Read-Write] User-defined name for this shape
  • radius (float): [Read-Write] Radius of the sphere
  • rest_offset (float): [Read-Write] Offset used when generating contact points. This allows you to smooth out
    the Minkowski sum by radius R. Useful for making objects slide smoothly on top of irregularities