Jump to content

digging system


awgsknite
 Share

Recommended Posts

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 ?

Link to comment
Share on other sites

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

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