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

MotionStreak组件会受地图移动的影响,如何禁止受地图移动的影响? #16863

Closed
coderyqy opened this issue Apr 5, 2024 · 2 comments
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@coderyqy
Copy link

coderyqy commented Apr 5, 2024

Cocos Creator version

3.8

System information

all

Issue description

cocos MotionStreak组件,我在使用过程中出现了问题,我给我的子弹增加了MotionStreak组件,当子弹移动的时候也的确出现了拖尾效果,我的命名为stage的节点可以上下左右移动,当stage移动的时候,在stage中飞行的子弹的拖尾效果就会变得很奇怪,会随场景的移动,拖尾轨迹就会发生变化,但是我只想拖尾轨迹跟随子弹变化,请问如何禁止stage移动而影响到子弹的拖尾效果呢???

Relevant error log output

Steps to reproduce

创建一个命名为stage的节点,在stage中创建一个子节点bullet,bullet添加MotionStreak组件,移动bullet,在bullet移动过程中,改变stage的位置,上下左右移动stage。

Minimal reproduction project

No response

@coderyqy coderyqy added Bug Needs Triage Needs to be assigned by the team labels Apr 5, 2024
@coderyqy
Copy link
Author

Why doesn't anyone care about this issue?

@minggo
Copy link
Contributor

minggo commented Apr 23, 2024

请到论坛询问引擎的使用问题。

@minggo minggo closed this as completed Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

2 participants