Jump to content
  • 0
awgsknite

digging system

Question

Does anyone know how I could make a digging system ? Digging as in digging with a shovel ingame or using some sort of tool ingame.

It doesn't have to be digging into terrain either it can be digging into a 3d voxel model. But how ?

Anyone got any code that they could show me that works for digging ?

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

I am not very skilled in LUA at all, I am learning as I go along. But could you not code the ground so when it is hit it removes or hides say a block. Could it be sent to somewhere it could be removed from the game without causing bloat? Similar to Minecraft when they dig they do so at a block at a time and then it can be collected, or deletes itself after so long. I am certain LUA could do this as Java can. Unfortunately I would not know how to implement it all sorry

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

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

×
×
  • Create New...