请问有一个已经生成的spine动画不断做循环,再次生成一个相同动画,怎么跟随上已有的spine,相同的节奏,
谢谢
请问有一个已经生成的spine动画不断做循环,再次生成一个相同动画,怎么跟随上已有的spine,相同的节奏,
- Изменено
你可以通过使用轨道同时播放两个或更多的动画。你可以在Spine编辑器的预览视图中模拟轨道。
预览视图 - Spine用户指南
有关运行时轨道的信息,请参见Spine运行时文档。
Applying Animations - Spine Runtimes Guide: 通道(Track)
—
You can play two or more animations at the same time by using tracks. You can simulate tracks in the Preview view on the Spine editor:
预览视图 - Spine用户指南
See the Spine runtime documentation for information on tracks at runtime:
Applying Animations - Spine Runtimes Guide: 通道(Track)
很抱歉我没描述清楚,我的本意是,例如unity游戏内,有一朵花,会扭曲身体,在另一时刻,会生成另外一朵花,需要和前面的那朵花保持相同的扭曲节奏,所以想问,是否有方式可以获取到第一朵花的运行的帧数,从而使从这一帧数开始播放新的花的扭曲动画,谢谢您
对不起,我弄错了你的问题。我想你要找的是 TrackEntry trackTime 或 TrackEntry animationTime 。下面的主题可能会有帮助。:
Swapping animations at runtime
—
Sorry that I got your question wrong. I think what you are looking for is TrackEntry trackTime or TrackEntry animationTime. The following thread may be helpful:
Swapping animations at runtime
我解决了这个问题,非常感谢您,祝您生活愉快