-
Notifications
You must be signed in to change notification settings - Fork 531
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
In version 2.2.3 I cannot make the perspective distortion work when I add a perspective flag in a transform array to a Skottie animation. I assume it is not supported currently.
<Canvas style={{flex: 1}}>
<Group transform={[
{translateX: 75},
{translateY: 300},
{scale: 0.7},
{rotateX: Math.PI / 6},
{rotateY: Math.PI / 6},
{perspective: 300}
]}
>
<Skottie animation={lottieAnimation} frame={frame}/>
</Group>
</Canvas>
The rotateX and rotateY transformations are applied but the perspective flag is ignored.
Is there any workaround for this?
Thank you in advance!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request