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

Node.EventType.POSITION_CHANGED 当节点是刚体时,设置刚体线性速度后 监听不到 #139

Open
parvparv opened this issue Jun 16, 2019 · 1 comment
Assignees

Comments

@parvparv
Copy link

URL : https://github.com/cocos-creator/creator-api-docs/blob/master/zh/classes/Node.EventType.md

执行
RigidBody.linearVelocity=(that.force);
以后 刚体能够 移动!
但是
以下代码 监听不到
this.node.on(Node.EventType.POSITION_CHANGED, function () {
console.log('2222' );
}, this.Node);

请问我想监听 刚体 的移动 怎么写代码

@2youyou2
Copy link
Contributor

2youyou2 commented Sep 3, 2020

刚体一般都是一直会动的吧

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

No branches or pull requests

3 participants