Jump to content

Framerate drop and polymesh collision


Pastaspace
 Share

Recommended Posts

I've noticed that whenever a character controller (the player, or some NPCs) collides with a particularly complicated static object, the framerate drops to an absolute crawl.

Now, I understand why this happens, my main question is, how do I prevent it? Is there some way I can generate a polymesh/phy object for these models that's less complicated and less intensive, or something else?

Link to comment
Share on other sites

I gotta ask then, seeing as polymesh causes drops so easily, what's it really used for?

 

This is usually the best option for buildings where each triangle in the visual geometry should be collidable.

 

I also think CSG use this type of collision. If you look at the CSG in-game (which get turned into models), you can see the triangles on the faces. For models, I personally would not use it.

post-12469-0-52176000-1438842335_thumb.jpg

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...