Animating Property
Reality Hub’s approach to animating is unique but easy to understand.
This section will be animating Reality Parent Transform Actor's Relative Rotation
and Relative Location
properties, located under Transform
property group.
- Add
UserTrack
,UE5
nodes to the canvas. - Connect the
Track
output pin of theUserTrack
node intoRealityCamera0.Track
input pin of theUE5
node. - Create a
Sink
node onRealityCamera0.Track
output pin of theUE5
node. See Sink Pin. - Activate the APM on
RealityCamera0.Scene
.
Your Graph should look like the image above.
Now:
- Activate the Actions module; then click on the New Action button.
- Select the
UE5
Node, go to Node Details Panel, expand the UE5 > Reality Actor > Reality Parent Transform Actor folders, as illustrated above.
- Go to
Relative Location
property, click on the Add Timeline button in the Node Property Toolset. - Do the same for
Relative Rotation
property.
As the above image illustrates that Relative Location
and Relative Rotation
properties are now subject to the Actions module and are ready to be animated.
Now:
When you hover your mouse over Relative Location, the Node Property Menu Circle turns white; this indicates that the property/function can be triggered/animated.
- Right click on the Node Property Menu Circle of
Relative Location
and select the Add Keyframe, as shown in the image above. - Repeat the same process for the
Relative Rotation
.
- Scrub the Playhead to the second 2.
- Change the
Relative Location
andRelative Rotation
property values similar to the one illustrated above. - Right click on the
Relative Location
and add the second keyframe. Repeat the process for theRelative Rotation
property.
info
Make sure that you deselect the keyframe before adding another one to a different property.
- Select the second keyframe of
Relative Location
, change its interpolation type from Jump to EaseOut. Repeat the same process for theRelative Rotation
property.
As the above image shows now our animations are completed.
- Click on the Action Play button.