SRB2 Message Board

SRB2 Message Board (https://mb.srb2.org/index.php)
-   Lua (https://mb.srb2.org/forumdisplay.php?f=121)
-   -   Display Object Hitboxes (https://mb.srb2.org/showthread.php?t=46873)

CobaltBW 03-19-2020 03:56 AM

Display Object Hitboxes
 
4 Attachment(s)
This script displays the present hitboxes (represented by strings of sphere objects) for most interactive game objects.

This is a developer tool intended to aid with testing object collisions.

Console commands:
hitbox_density - The thickness of the displayed hitbox. 0 disables the visual hitboxes entirely.
hitbox_distance - The maximum distance at which hitboxes are drawn.
hitbox_color - Enables/disables color-coding of hitboxes.
hitbox_rings - Enables/disables visible ring hitboxes.
hitbox_player - Enables/disables visible player hitboxes.

Fair warning that this script is resource intensive on its max settings. This mod also has not been tested for net stability.

Prime 2.0 03-19-2020 11:46 PM

Welcome to Releases!

Krabs 04-10-2020 01:17 AM

If you're not using this to help create good hitboxes for your custom objects, you're doing something wrong. This little script has saved me from a ton of potential frustration.


All times are GMT. The time now is 11:58 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.