PhysX icon indicating copy to clipboard operation
PhysX copied to clipboard

No apparent way to make CCT collide with static rigid bodies

Open Moi78 opened this issue 3 years ago • 4 comments

I'm surprised that this is not possible, well at least it seems impossible, and the docs aren't helpful at all and doesn't detail that. It seems to be pretty random. In some cases, there are collisions in others there are no collisions, the declaration of the rigid body, CCT etc... are the same in both cases, but depending on the code following it (which is btw not related to physics in any kind) theses collisions are enable or not. This is really weird.

I think I don't need to explain how confusing it is....

Moi78 avatar Dec 19 '21 22:12 Moi78

I'm afraid I don't follow the question and I don't understand the problem. CCTs do collide with static rigid bodies, as shown in several samples (SampleNorthPole, SampleCustomGravity, SampleBridges, etc).

PierreTerdiman avatar Jan 03 '22 09:01 PierreTerdiman

Well, it may be a linking problem nor a compiling problem caused by me. Note that it appears on both linux and windows and that I used the provided build system (underlying on cmake) provided in the repo. Interestingly, every samples works like a charm but when I link it and use it in my project, it doesn't work anymore. I mean, it effectively pushes other dynamic actors but it does not collide with static objects.

I don't know if I can do or send anything that can be helpful here.

Moi78 avatar Jan 03 '22 11:01 Moi78

Perhaps try to use the debug visualization to make sure that the static meshes are where you expect them to be, and maybe double check the triangle winding for these meshes. Not sure what I can do without a repro otherwise.

PierreTerdiman avatar Jan 03 '22 12:01 PierreTerdiman

In the PVD, the CCT Capsule is where I placed it in my scene and as I move, it moves through static objects as if they were not there.

Moi78 avatar Jan 03 '22 17:01 Moi78