BPC_InteractiveFurnitureComponent
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
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