Minecraft Blogs / Article

Ships Mod: Custom Collision

  • 2,577 views, 1 today
  • 5
  • 0
  • 4
cuchaz's Avatar cuchaz
Level 77 : Legendary Modder
234
In the fourth installment of the ships mod technology demo, I show off the new collision system. Since Minecraft can't natively handle complex interactions between entities, a new system was needed. Watch the video to see the collision system in action.

Originally, ship collision was based off of Minecraft's built-in entity collision system. Each ship was modeled as a large number of entities shaped like blocks. This worked for small ships, when the largest distance between any pair of blocks was small, but larger ships exposed problems with this collision system. Players would fall right through the floor of larger ships. There wasn't really a way to fix the built-in collision system to avoid these problems, so I had to create something entirely new.

What you see in the video is a debug render of the new collision system. The player is modeled as the green box and ship blocks are highlighted in red when they impede the player's movement. Later, the video shows how dynamically-changing blocks (like doors) are handled seamlessly.

Follow the ships mod discussion in the Minecraft Forums.
Tags

Create an account or sign in to comment.

1
10/24/2013 10:05 pm
Level 1 : New Miner
LordMD321
LordMD321's Avatar
This mod is getting better and better keep up the awesome work and i cant wait for the release!
1
10/17/2013 6:37 am
Level 1 : New Miner
Plasmoid223
Plasmoid223's Avatar
Hi Cuchaz, i have been following this mod for a long time, and i think the work you do is brilliant and i think this mod is already better than Archimedes. I love how you can move on the decks unlike in Archimedes. Not rushing you in any way, would it be possible to estimate when we can start to download this mod? Thanks and once again, fantastic work on this project!
1
10/17/2013 11:47 am
Level 77 : Legendary Modder
cuchaz
cuchaz's Avatar
Thanks! This is a hobby project for me, so I'm not sticking to any time tables and I'm not going to predict any release dates. You can follow progress of the mod on the MFC thread. The next goal for me is to get the mod ready for beta testing. You'll be able to try it out then.
1
10/17/2013 11:50 pm
Level 1 : New Miner
Plasmoid223
Plasmoid223's Avatar
Thanks for replying. Cannot wait for the beta testing then! Good luck then!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome