Rigid body skin size

Rigid body skin size

spooky_paul的头像

Hello,

The rigid bodies in the simulation I made seem to hover a small distance of the ground.

How can i minimize this and set their skin thinner? I have tried with m_allowedPenetrationDepth but it I didn't achieve what
I wanted.

Thank you

4 帖子 / 0 new
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项
havokdaniel的头像

Hey spooky_paul,

This distance is necessary in order to reduce penetrations (which are very expensive to resolve). The way to solve it is to make scale your display meshes up a little so that when you render your scene, you don't see that size. In the Havok Content Tools there is a filter to automatically scale your objects down a little when exporting to Havok entities (Physics->"Shrink Shapes") but you can do this manually too.

Under the docs, if you look at Physics->Dynamics->Collision Detection->Optimizing and Tuning Collision Detection->Convex shape radius, this gap is explained. "Visual Implications of Convex Radius" explains briefly about the visual artifacts you're seeing and what you can do to resolve them.

Thanks,
Daniel

spooky_paul的头像

That was fast. Thanks for the answer. It got me on my way. :)

havokdaniel的头像

Happy Havok-wreaking :-)

登陆并发表评论。