Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

The Minecraft entity collision code, as I just learned, is sadly lacking. The entity code is configured, by default, to allow a square prism. What if you want a bounding box with custom dimensions? Override setPosition. Easy enough, until you start trying to work with rotation. For example, I'm trying to make a tractor, which is obviously longer than it is wide. I want to allow it to turn. Easy? No, because the bounding box is axis-aligned.

 

I'd like to request, perhaps as a long-term goal, that a non-axisaligned bounding box system be implemented. This would allow for better entity collisions universally.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

  • 3 weeks later...

As all bounding boxes are axis-aligned, the intersection detection (for collision etc) is very easy. if you take a non-axis-aligned bounding box, the complexity of the collision checks increases drastically. So this would be a bad idea as it would harm performance.

Guest
This topic is now closed to further replies.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.