开发者

Box2d collisions (android AndEnigne)

开发者 https://www.devze.com 2023-03-07 13:33 出处:网络
I learn AndEngine and trying to make a simple game. I use physics engine box2d and need to make 2 objects in physicsworld that will be able to pass through him self and won\'t be able to penetrate res

I learn AndEngine and trying to make a simple game. I use physics engine box2d and need to make 2 objects in physicsworld that will be able to pass through him self and won't be able to penetrate rest of objects in this world. Is it possieble ?

Tha开发者_JAVA百科nks in advance

Greg.


Yes, its possible using collision filters. I think there's an example in the andengine demos

0

精彩评论

暂无评论...
验证码 换一张
取 消