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.
我正在创建简单的突围游戏,其中我不断落下的砖块,当球击中它时它们会消失。但是当球击中那块砖时,它会向它施加力,砖会向上移动。所以我想让球停止强迫砖块!?,Box2d中是否有这样做的?
将运动学实体用于砖块
body->SetType( b2_kinematicBody );
我正在尝试使用 jquery 来检测特定表(即“grid1”)中的复选框更改。
(FWIW - 该表是一个 jqgrid)
但是,我使用的“选择器”语句似乎没有按我预期的方式工作。
它不是检测特定表格(即“grid1”)中的复选框更改,而是检测/响应整个文档中的更改 - 包括“grid2”。
我的选