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 » Game Creation and Development » Scripters
Home Search
 

Re: Detecting the Part's Y Axis relative to WorldSpace

Previous Thread :: Next Thread 
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
26 Dec 2014 01:12 PM
I got an idea for some pretty cool thing that I seen only 1 person do on Roblox in Shooting Games... for that I might need this... I would like to know if there would be any way to find out the Part's Size in the World's Y Axis not the Part's Y Axis...
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
26 Dec 2014 02:17 PM
Part's size? It's going to be the same no matter what...
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
26 Dec 2014 02:21 PM
no, I mean, find a Part's Size relative to the World not to the part...
say I rotated it a lil, so I wanted to know how high was it from the ground, the Part's Size wont give me the info I need :/
Report Abuse
Everment is not online. Everment
Joined: 08 Oct 2009
Total Posts: 6020
26 Dec 2014 02:29 PM
Oooooooooooooooh, that makes more sense now.

Though I personally dunno about it, sorry.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
26 Dec 2014 02:32 PM
Well all I can think of is raycasting to get accurate results (the other thought was making 4 points to create as a square "hitbox thing" that doesn't rotate but it'll be off when checking how far it is depending on rotation)
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
26 Dec 2014 03:08 PM
hmmm... maybe do...
Draw Ray from Part.Position.Y - Part.Size.Y to Part.Position.Y + Part.Size.Y or something like that and then maybe Draw a Ray from the Test Part to the BasePlate and if it detects the BasePlate then it will say, 'oh the X Axis is supposed to be Y Axis Relative to World Space'
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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