Skip to content

Link

A physical link with optional inertia, collision and required visual properties. Every component needs to have at least one, that's why the base link element is always compulsory. The only difference between the base link and other links is that the base link lacks the child Origin.

Mandatory children

  • Visual: It describes the visual properties of the link. You can add as many as you want.

Optional children

  • Origin: Transformation frame respect to the component's frame of reference.

    • Var: smtk_transform
    • Type: Constant
    • Default: 0 0 0 0 0 0 1
    • Values info: x y z qx qy qz qw
  • Inertial: The inertial properties of the link.

  • Sensor: Used to define a sensor in a link. You can add as many as you want.

  • Force Source: Used to apply a force to objects within the range. You can add as many as you want.

  • Locker: Creates a fixed constraint between the link where is contained and the touched link. You can add as many as you want.

  • Collision: The collision properties of a link. You can add as many as you want.

  • Light: Used to add lights to a link. You can add as many as you want.

  • Audio: Used to add audio to a link. You can add as many as you want.

  • Apply Force: Apply a force/torque to a specific location of the link. You can add as many as you want.

  • Surface: Three types of surfaces are available:

    • Surface: Defines the collision surface parameters.
    • Motion Surface: Defines the collision surface parameters, plus motion_direction and motion_speed variables.
    • Data Surface: Defines the collision data of the surface, including extra custom data.
  • is_kinematic: If enabled, it will allow links without mass and collision still have a physics body. Used for Avatar control.

    • Var: smtk_bool
    • Type: Constant
    • default: true