Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

龙骨未来有计划支持 路径 功能吗? #128

Open
finscn opened this issue Jan 30, 2020 · 2 comments
Open

龙骨未来有计划支持 路径 功能吗? #128

finscn opened this issue Jan 30, 2020 · 2 comments

Comments

@finscn
Copy link

finscn commented Jan 30, 2020

就是 让一个部件 可以按照开发者在编辑器里绘制的路径轨迹运动.

类似于 spine的这个功能:

image

@jcyuan
Copy link
Contributor

jcyuan commented Feb 3, 2020

这个我个人认为并不应该属于龙骨功能。这是游戏逻辑。spine不清楚原理。但是很大可能是把节点转为骨节,那样就太浪费CPU了。相反如果只是单纯的多点curve插值,那就更不应该放在骨架里了,在自己逻辑里面会灵活得多。

@finscn
Copy link
Author

finscn commented Feb 8, 2020

@jcyuan 如果是一个精灵 整体做路径运动, 确实如你所说, 是外部逻辑处理更好.
但是如果是一个精灵身上的某一个部件需要按照路径运动 就另当别论了.
比如 角色的待机动画. 手里拿着锤子, 把锤子往上扔出去再接住. 锤子的运动轨迹是一个超过头顶的大曲率抛物线, 同时自身自转.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants