Display object hitboxes?

Archive of the old editing forum
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.
Locked
User avatar
DBThanatos
Posts: 3101
Joined: Fri Apr 14, 2006 3:17 pm
Location: in "the darkness that lurks in our mind"

Display object hitboxes?

Post by DBThanatos »

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.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: Display object hitboxes?

Post by The Zombie Killer »

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
User avatar
kodi
 
 
Posts: 1361
Joined: Mon May 06, 2013 8:02 am

Re: Display object hitboxes?

Post by kodi »

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.
User avatar
Jaxxoon R
Posts: 772
Joined: Sun May 04, 2014 7:22 pm

Re: Display object hitboxes?

Post by Jaxxoon R »

Personally this sounds like it'd make a pretty useful debugging console command.
User avatar
Kinsie
Posts: 7402
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: Display object hitboxes?

Post by Kinsie »

Jaxxoon R wrote:Personally this sounds like it'd make a pretty useful debugging console command.
Which is why I'm not holding my breath.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: Display object hitboxes?

Post by The Zombie Killer »

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.
Image
Clever.
Locked

Return to “Editing (Archive)”