Pastaspace Posted August 5, 2015 Posted August 5, 2015 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? Quote
Josh Posted August 6, 2015 Posted August 6, 2015 Yes, that's correct. You should always use one of the other shape tools for this: http://www.leadwerks.com/werkspace/page/tutorials/_/models-and-animation-r8#section6 Polyhedron is a good one that works for most things. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Pastaspace Posted August 6, 2015 Author Posted August 6, 2015 I gotta ask then, seeing as polymesh causes drops so easily, what's it really used for? Quote
reepblue Posted August 6, 2015 Posted August 6, 2015 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. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon!
Recommended Posts
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.