Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个玩家角色,我希望他每秒发射一颗子弹。
这是一个自上而下的视图,没有重力。
我一直在用 SetLinearVelocity() 和 ApplyLinearImpulse() 做这件事,对象移动了,但我无法控制速度。
如何控制子弹的速度?
好像您已经在这里找到了答案:http: //www.box2d.org/forum/viewtopic.php? f=3&t=5852&p=27016