Display object hitboxes?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- DBThanatos
- Posts: 3101
- Joined: Fri Apr 14, 2006 3:17 pm
- Location: in "the darkness that lurks in our mind"
Display object hitboxes?
Is there a way to display the object's "hitboxes"? I know it can be done in the automap, but I was wondering if there's a way to do that in-world.
- The Zombie Killer
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
Re: Display object hitboxes?
You would use Warp to teleport "corner" actors to the corners of the actor (by retrieving the radius and height, etc). You could have a bunch of actors to interpolate between the positions too if you wanted a line instead of a bunch of dots
Re: Display object hitboxes?
A 1*1*1.2 transparent 3d model box actor could be warped to the actor's position scaled to it's height and radius.
Re: Display object hitboxes?
Personally this sounds like it'd make a pretty useful debugging console command.
- Kinsie
- Posts: 7402
- Joined: Fri Oct 22, 2004 9:22 am
- Graphics Processor: nVidia with Vulkan support
- Location: MAP33
- Contact:
Re: Display object hitboxes?
Which is why I'm not holding my breath.Jaxxoon R wrote:Personally this sounds like it'd make a pretty useful debugging console command.
- The Zombie Killer
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
Re: Display object hitboxes?
kodi wrote:A 1*1*1.2 transparent 3d model box actor could be warped to the actor's position scaled to it's height and radius.

Clever.

