physx collision mesh
#3
Yes, that's a limitation of the current PhysX implementation in tyFlow...if a collider (in mesh mode) is animated, there is no interpolation happening between frames...the mesh is simply cleared, and then re-added in its new position...so the "movement" of faces is not really movement at all, PhysX colliders (in mesh mode) are just per-frame snapshots, so if you see them moving "through" particles, it's because they're appearing on one side on one frame, then appearing on the other in the next frame...hence why no collision is triggered if the particles themselves are not moving. The same is not true for the other collision modes...they can trigger collisions even for stationary particles.

PhysX has some built-in methods to do interpolation in mesh mode (I haven't tested them, but I imagine they overcome this problem)...however, it's not as simple as implementing that directly...tyFlow allows users to input meshes with changing topology as a PhysX collider, or meshes with unchanging face counts, but face re-ordering, etc...these would all cause big problems for any mesh collider interpolation, require extra tracking, etc. Perhaps I could simply add a checkbox to enable/disable the interpolation function, in case of these other situations where it wouldn't work properly....I will add that to the todo list as something to explore.
  Reply


Messages In This Thread
physx collision mesh - by nayan - 02-01-2024, 05:20 AM
RE: physx collision mesh - by wlfaos2 - 02-05-2024, 08:00 AM
RE: physx collision mesh - by tyFlow - 02-06-2024, 12:31 AM
RE: physx collision mesh - by d4rk3lf - 02-06-2024, 10:00 AM
RE: physx collision mesh - by nayan - 02-07-2024, 08:16 AM
RE: physx collision mesh - by tyFlow - 02-07-2024, 02:35 PM
RE: physx collision mesh - by tyFlow - 02-07-2024, 08:43 PM
RE: physx collision mesh - by tyFlow - 02-07-2024, 11:04 PM
RE: physx collision mesh - by nayan - 02-09-2024, 12:01 PM
RE: physx collision mesh - by wlfaos2 - 02-17-2024, 08:20 AM
RE: physx collision mesh - by tyFlow - 02-17-2024, 01:34 PM

Forum Jump: