Jump to content

[SOLVED] Collision on tesselated mesh


Recommended Posts

Posted

We were wondering on what mesh the collision is detected

we have a cave which is tesselated so the rocks really pop out

 

but if we make a player on what will it collide?

on the original mesh or the tesselated mesh?

Posted

On the original mesh, as tesselation is done on the GPU while collision is detected on CPU side.

Posted

Hmm would there be a way to overcome this issue? We have bits in the cave that stick out about 2 meters so the collision would be really dodgy

Posted

Most probably this would required modifications of your original mesh geomatriy or additional collision meshes capturing these geometry "spikes". Actually my understanding of GPU tesselation is to add surface micro details (e.g stone wall surface geometry) but not large macro details with effects e.g. on collisions.

Posted

Yep, not possible. As Ulf said, tessellation is for small details or you need to add pure collision geometry that is not rendered adn disable collision option for the tessellated surfaces.

×
×
  • Create New...