KybernetikGames / animancer

Documentation for the Animancer Unity Plugin.
63 stars 8 forks source link

Directional Animations in 3D #280

Open KybernetikGames opened 1 year ago

KybernetikGames commented 1 year ago

Use Case

Some games use a combination of 2D Sprites in a 3D world, for example:

treeofsavior-english-epl-523

download-ragnarok-mobile

Animancer's Directional Animation Sets can do that easily, but Animancer doesn't yet have an example scene to demonstrate the capability.

Solution

Here's a package with a simple example scene that will work with Animancer Lite or Pro: Animancer - Directional Animations in 3D.zip

It has two scripts:

The system chooses the appropriate animation based on the Forward direction relative to the camera so rotating the camera changes the animation:

CameraRotation

And rotating the Forward direction also changes the animation:

DirectionRotation

Feedback

As always, feedback is welcome. This will likely be added as an example scene in the next version of Animancer.

KybernetikGames commented 2 weeks ago

Animancer v8.0 is now available for Alpha Testing and includes this as an example scene with a few improvements from what's posted here..