Interaction Furniture Component
English
English
  • Introduction
  • Old documentation
  • Settings
    • BPC_InteractiveFurnitureComponent
    • BP_BaseInteractiveFurniture
    • Input
Powered by GitBook
On this page
  • About struct
  • S_InteractiveFurniture

Was this helpful?

  1. Settings

BPC_InteractiveFurnitureComponent

PreviousOld documentationNextBP_BaseInteractiveFurniture

Last updated 4 years ago

Was this helpful?

About struct

There is one variable in the component for setting this is an array of structure (S_InteractiveFurniture), each element of the array is the setting of a single box, door, and etc.

The picture below shows how one tuned item looks like.

S_InteractiveFurniture

  • NameComponent (String): The name of the component to be animated.

  • PrimitiveComponentRef (PrimitiveComponent): A link to a component that is animated (StaticMesh), you do not need to configure it at startup, it will automatically find it by “NameComponent”.

  • CurveAnimation (CurveFloat): curve that will be animated “PrimitiveComponentRef”.

  • Sound (SoundBase): The sound that will be played when opening / closing.

  • DirectionAnimation (E_TimelineDirection): animation direction:

    • Forward - From / To

    • Backward - To / From

  • bUseRotation (bool): if True then the rotation will be animated

  • RotationFrom (Rotator): begin rotation

  • RotationTo (Rotator): end rotation

  • bUseLocation (bool): if True then the location will be animated

  • LocationFrom (Vector3D): begin location

  • LocationTo (Vector3D): end location