generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » Clans & Guilds
Home Search
 

Re: Can someone explain how hats increase hitbox?

Previous Thread :: Next Thread 
superlosersx3 is not online. superlosersx3
Joined: 24 Dec 2012
Total Posts: 1148
28 Feb 2015 10:13 PM
I've been wondering this for a while and never exactly understood how it worked.
My questions are:

1. Do smaller hats have smaller hitboxes than large hats.(Like Shades to dominuses)
2. Does the number of hats you have on increase your hitbox.
Report Abuse
Bleerp is not online. Bleerp
Joined: 05 Nov 2012
Total Posts: 3467
28 Feb 2015 10:13 PM
because hats are bricks themselves on the humanoid
Report Abuse
destoried is not online. destoried
Joined: 24 Sep 2013
Total Posts: 21684
28 Feb 2015 10:14 PM
idk some stuff with velocity
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
28 Feb 2015 10:15 PM
Gun scripts work in one of three ways. If the ray hits a hat, the script either will ignore it and not damage the player (allowing for hats to be worn for protection), or alternatively to treat the hat as part of the player and damage him if the ray hits the hat. In other gun scripts it takes the hat off if it hits it.

In Studio you can see the hat's hitbox, the blue box, when you select the hat.


Depends on the gun you're working with.

Number of hats doesn't matter, each hat has its individual hitbox.

It isn't about the size of the actual hat, it's about the size of it's hitbox. Larger hats do tend to have a larger hitbox though.
Report Abuse
superlosersx3 is not online. superlosersx3
Joined: 24 Dec 2012
Total Posts: 1148
28 Feb 2015 10:16 PM
Thank you for the response, do you know the answers to the other 2 questions though?
Report Abuse
superlosersx3 is not online. superlosersx3
Joined: 24 Dec 2012
Total Posts: 1148
28 Feb 2015 10:17 PM
Thanks chiefdelta, was very informative.

Report Abuse
darkwisp is not online. darkwisp
Joined: 07 Apr 2010
Total Posts: 22653
28 Feb 2015 10:19 PM
First we need to dig into the code.

The first ray cast guns would make ray casts that if intersecting with a part will check if the parent of the part is the player. This worked fine and all but there was a problem. Hats. Hats are an Instance but alone are nothing. Inside the hat is a part named handle. When the Ray cast shoots this part, the parent of the part is not a player but is handle. Due to this no damage is dealt. Players could wear hats in such a way that they would block most of their body.

The fix for this is simple but took a while for people to realize for some reason. You have an else if checking if Handles parent is a hat/tool, and if those are children of the character damage is dealt.

The hitbox is the Handle you can look at any hat in workspace and look at handle to determine how but he hit boxes are.
Report Abuse
HappyOJolly is not online. HappyOJolly
Joined: 18 Dec 2011
Total Posts: 3512
28 Feb 2015 10:19 PM
"Larger hats do tend to have a larger hitbox though."

Mostly true, but I've seen a plethora of small hats with gigantic hit boxes, and vice versa.
Report Abuse
darkwisp is not online. darkwisp
Joined: 07 Apr 2010
Total Posts: 22653
28 Feb 2015 10:23 PM
Yes due to the nature of hats as I have explained, the hats may not have a precise hit box around them leaving a larger hitbox. Take the current hat I am wearing.

The hat size itself is only how ROBLOX will render it
Report Abuse
superlosersx3 is not online. superlosersx3
Joined: 24 Dec 2012
Total Posts: 1148
28 Feb 2015 10:24 PM
Ty Dark.
Report Abuse
Patreiot is not online. Patreiot
Joined: 02 May 2014
Total Posts: 480
28 Feb 2015 10:24 PM
Hats are bricks which are different sizes. Some are small others are big. To keep hats from blocking damage, gunscripts considered hats to be part of the player. If you shot the hat you shoot the player.

Yes, we're multiple hats will increase your hitbox.
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
28 Feb 2015 10:26 PM
Well it depends what multiple hats they are.

If you have 3 swordpacks on (huge hitbox btw) won't make much of a difference for having 3.

Having Socialite on is like suicide for some guns.
Report Abuse
NiasalSkilgra is not online. NiasalSkilgra
Joined: 01 Mar 2014
Total Posts: 429
01 Dec 2015 12:42 PM
Which large and small hats have a hitbox though?
Report Abuse
BurnTHedgehog is not online. BurnTHedgehog
Joined: 12 May 2013
Total Posts: 14
19 Mar 2016 08:25 PM
All hats have a hitbox. If you're asking which ones have disproportional hitboxes, then you should've worded your question differently.

(It's technically called a "hurtbox" btw, since you don't hurt people with the hats.)
Report Abuse
riftg is not online. riftg
Joined: 24 Nov 2008
Total Posts: 1980
19 Mar 2016 08:31 PM
29E654BF

@superlosersx3

jk I don't mean it

RiftG never sleeps
Report Abuse
Jay_Lockett is not online. Jay_Lockett
Joined: 30 Dec 2013
Total Posts: 41
18 Apr 2016 07:24 PM
All i want to know is What 3 hats make your hitbox small.
Report Abuse
SparrowCyclone is not online. SparrowCyclone
Joined: 06 Jul 2015
Total Posts: 37
18 Apr 2016 07:29 PM
if you want a small hitbox dont wear hats at all



imnotxudios, 3 dayed
Report Abuse
StarLitoh is not online. StarLitoh
Joined: 30 Dec 2013
Total Posts: 78
01 Jun 2016 07:48 PM
Yall know them Sports football games? well my hitbox big on that one and i want to make it smaller but i want hats too.
Report Abuse
Theta0 is not online. Theta0
Joined: 09 Feb 2011
Total Posts: 40750
01 Jun 2016 07:50 PM
depends on the gun scripts

if the hat is on an ignore list for the standard raycast gun, then it ignores it


if not, there may be a part of the script that checks it



Report Abuse
UnBanTheProGama is not online. UnBanTheProGama
Joined: 21 Apr 2017
Total Posts: 49
13 Jun 2017 10:40 AM
idk


🐢 I liek turtles 🐢
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image