Commit Graph

3 Commits

Author SHA1 Message Date
Andrew Rodham
de868f559a Improved Actor Animation Player functionality.
Properties on MovieSceneActor are now BlueprintReadOnly since they are only really set up parameters.
When actor animation players reach the end of their animation, they no longer reset back to the beginning.
Added new PlayLooping function that allows the user to dynamically set how many loops to play.
Changed defaults on playback settings to play a single animation as this is probably a better default.

[CL 2698730 by Andrew Rodham in Main branch]
2015-09-21 06:00:58 -04:00
Andrew Rodham
bc7208c356 Added MovieSceneActor, overhauled UActorAnimationPlayer, and fixed Actor Animation object bindings
Lots of change in here:
 - Improved UActorAnimationPlayer functionality to include looping and play speed (UI needs polish)
 - Fixed actor object bindings not working in PIE. We now only store the object GUID (and an object path for a fallback), which can then be fixed up within a given context (UWorld for now).
 - Added UActorAnimationInstance which is responsible for managing bindings on a UActorAnimation. UActorAnimation itself is now pretty much just a data asset.
 - Levels are no longer responsible for ticking actor animations, this is now handled by the client (either AMovieSceneActor, or ticked automatically if created from a blueprint node)

[CL 2696822 by Andrew Rodham in Main branch]
2015-09-18 04:56:12 -04:00
Andrew Rodham
c9dc249236 Moved ActorAnimationPlayer to Runtime/ActorAnimation
Also changed the PlayActorAnimation function to CreateActorAnimationPlayer. PlayActorAnimation can be implemented in terms of CreateActorAnimationPlayer and UActorAnimationPlayer::Play()

[CL 2680085 by Andrew Rodham in Main branch]
2015-09-04 05:34:10 -04:00