unreal.RigPhysicsCollisionCapsule

class unreal.RigPhysicsCollisionCapsule

Bases: RigPhysicsCollisionShape

Capsule collision

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • 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.

  • length (float): [Read-Write] This is the length of the core part of the capsule. The total length will be Length + 2 * Radius

  • name (Name): [Read-Write]

  • radius (float): [Read-Write]

  • 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

  • tm (Transform): [Read-Write]