[Physics] Per Poly Collision Doesnt Work With Physics Simulating Meshes

Dear Friends at Epic,

In UE3 I could make a complex shape, set it to per-poly collision,

and have a physics simulating ball roll up and around this shape with perfect collision!

In UE4, when I do this, the physics simulating ball goes right through the per-poly meshes!

This is a HUGE downgrade from UE3!

Please address this!

Rama

PS: repro is easy, set any mesh to simulate physics and drop it on top of a per-poly complex static mesh shape.

Howdy Rama,

I have tested this issue, with the reproduction steps that you have given, and have been successful in recreating the issue in 4.3. I then tested the issue on a future release and the issue does not occur. It seems that the issue has been resolved between builds and should be fixed in a future release. If you do see the issue come up once again in the future please feel free to re-open this issue so that we may further investigate.

Thanks and have a great day!

" have tested this issue, with the reproduction steps that you have given, and have been successful in recreating the issue in 4.3. I then tested the issue on a future release and the issue does not occur. "

Wohooo!

That is awesome news Sean!

Thanks!

#:heart:

Rama

#Just Tested on 4.5

I just tested rigid body collision with per poly static meshes (Use complex as simple) and still rigid bodies pass right through as if they had no collision.

Has this really been addressed?

:heart:

Rama

Howdy Rama,

Thank you for re-opening this issue. I was able to see the error occur once again. I have also talked to another Dev and they have informed me that TTP# 349621 has been written up and placed into our bug database so that it may be fixed in a future release. As of right now, I am uncertain as to when this issue may be resolved.

Thanks and have a great day!

Wohoo!

Thanks for this update Sean!

#:heart:

Rama

#Works For Meshes Placed In Editor But Not Spawned

I can verify that in 4.5.0, meshes that are placed in Editor that only have per poly collision do collide with physics simulating objects.

But not static meshes that I spawn at runtime and set using SetStaticMesh()

Any idea how I can get my runtime spawned per-poly static meshes to collide with physics engine?

#Thanks!

#:heart:

Rama

#[4.5] Works For Meshes Placed In Editor But Not Spawned

I can verify that in 4.5.0, meshes that are placed in Editor that only have per poly collision do collide with physics simulating objects.

But not static meshes that I spawn at runtime and set using SetStaticMesh()

#Remaining Issue

Any idea how I can get my runtime spawned per-poly static meshes to collide with physics engine?

#Thanks!

#:heart:

Rama

This should work with movable (or spawned) static mesh actors in 4.6

#Yay!

Thanks for the update Ori!

#:heart:

Rama

#Thank You Ori!

I am happy to report that as of 4.7.5, I have tested movable actors with per poly collision (complex as simple) as working with physics-simulating actors.

Thank you so much Ori!

40534-rainbow.jpg

#:heart:

Rama

I tried to use a movable actor with per poly collision (complex as simple) with physics-simulating actors, as you say worked above in 4.7.5 and in 4.13 it does not seem to work.

If I tick the EnablePerPolyCollision checkbox in my actor’s SkeletalMeshComponent, it, for instance, no longer falls due to gravity even though physically simulated, gravity enabled (including those same settings on all of its body instances).

Are you still able to have moving skeletal mesh objects with per poly collision enabled when you want / need it? Or has that feature been removed now?

Thanks for any info you can provide!

Hey AchillesWF,

You will still need to use a physics asset with your skeletal mesh for it to have proper collision while simulating. You can see it explained a bit in the popup for EnablePerPolyCollision.

Cheers,

TJ

I found a way to use PerPoly collision with simulating Skeletal Mesh. Just make a copy of your skeletal mesh in blueprint, make original mesh Collision Enabled to use Physics Only and set QueryOnly in the copied mesh. Make sure you’ve checked EnablePerPolyCollision in both - copied mesh and physics asset. To hide copied skeletal mesh and get the traces working set OwnerNoSee=true and OnlyOwnerSee=true on it