Hi All, I want to create an Entity (Position, Rotation, Scale) animation in the PlayCanvas editor.
Can anyone please share some of the references for how I can create an Entity animation within the PlayCanvas editor?
Thanks in advance.
Hi All, I want to create an Entity (Position, Rotation, Scale) animation in the PlayCanvas editor.
Can anyone please share some of the references for how I can create an Entity animation within the PlayCanvas editor?
Thanks in advance.
Hi @Akhil-Bhaskar,
The editor api has been added to the editor a few days ago. You can study the repository (there are some docs included) on how to use it:
That being said you can use it to animate an entity in editor, save it to a file or some other way (e.g. script attributes) to replay it on runtime.
The support for animating using keyframes is scheduled as well, but not done yet … so you cannot simply create animations by placing keyframes in the editor yet. These need to be done externally, and imported as fbx files.