Jump to content

Create Shape without using PolyMesh?


Brutile
 Share

Recommended Posts

Is it possible to create a custom shape for collision without using Shape::PolyMesh(surface)?

It seems like a waste creating the surface just to create a shape from it.

Can I make the shape in a similar way to creating a surface? Because Shape::PolyMesh is slowing my game down.

 

More Info:

I am trying to create a minecraft-like voxel terrain, but I am stuck at performance. I could increase framerate by making the chunks bigger, but then it stutters from the time it takes to create collision. If I reduce the chunk size, it makes collision creation smoother, but the draw calls increases and framerate drops.

 

PS. I've done everything I can to reduce the poly count in the chunks, so there is nothing much I can do to improve things. The only bottleneck I have is the shape creation, which I have no control over. That is why I ask.

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...