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: Parenting parts to the Character...

Previous Thread :: Next Thread 
MM233 is not online. MM233
Joined: 19 Jun 2008
Total Posts: 925
21 May 2012 01:52 PM
...Without having them turn invisible to the player when he/she is scrolled in. Is it possible, and if so how?
Report Abuse
Quenty is online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
21 May 2012 01:59 PM
Not that I know of.
Report Abuse
MM233 is not online. MM233
Joined: 19 Jun 2008
Total Posts: 925
21 May 2012 02:21 PM
Okay then... I guess that's that.
Report Abuse
Shobobo99 is not online. Shobobo99
Joined: 30 Dec 2008
Total Posts: 5754
21 May 2012 02:53 PM
You shouldn't have to anyways in most cases I can think of. What were you thinking about doing?
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
21 May 2012 02:59 PM
[ Content Deleted ]
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
21 May 2012 03:07 PM
^
Report Abuse
MM233 is not online. MM233
Joined: 19 Jun 2008
Total Posts: 925
22 May 2012 11:26 AM
Well, my raycast already ignores the character, so I decided the easiest way to ignore other parts the script spawns would be to put them in the character. ^.^
Problem being, all the parts go invisible when the player is scrolled in. And parenting the parts to the tool would make them disappear if the tool is put away.

Anyway, I just made a specific model in workspace to dump the parts in that the ray ignores, though if a game were to not have that model, the script would break, and I really don't like that part. I guess I could have the script make a model if one does not exist, but I'm too lazy to do that right now. x3
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
22 May 2012 12:01 PM
@MM233.
FindPartOnRayWithIgnoreList()
Use that maybe?....
You construct it in same way, just instead of model what it will ignore, you put table fulled with stuff you want to get ignored. Simple..
Report Abuse
MM233 is not online. MM233
Joined: 19 Jun 2008
Total Posts: 925
22 May 2012 12:02 PM
Eh... Not exactly what I'm looking for...

Anyway, I already stated the solution I've made and it should work fine for my purposes.
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
22 May 2012 12:03 PM
They should make it return a table of parts which the ray hits on that order
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
22 May 2012 12:08 PM
That would be great if you could get first 10 parts hit by ray or somthing like that.
Report Abuse
MM233 is not online. MM233
Joined: 19 Jun 2008
Total Posts: 925
22 May 2012 12:10 PM
Basicly having the ray continue after it hits a part, and return every part hit until the end of the ray? It would be interesting...
Report Abuse
MM233 is not online. MM233
Joined: 19 Jun 2008
Total Posts: 925
22 May 2012 12:40 PM
Oh, and thanks for the whole FindPartOnRayWithIgnoreList() thing. I didn't know about that, and I actually did use it. xD
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
22 May 2012 06:13 PM
[ Content Deleted ]
Report Abuse
imcoolfire8 is not online. imcoolfire8
Joined: 23 Nov 2009
Total Posts: 3008
22 May 2012 06:19 PM
Cant you put the character in to a model and group a model of the character and the thing together?

♪ Let Me Break It Down For Ya ♪
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
22 May 2012 07:16 PM
[ Content Deleted ]
Report Abuse
Quenty is online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
23 May 2012 12:13 AM
There are two solutions:

1) Don't parent it to the character

2) Don't let the player zoom in

3) Just leave it.

4) I'm bad at math. Ignore all my solutions.
Report Abuse
MM233 is not online. MM233
Joined: 19 Jun 2008
Total Posts: 925
23 May 2012 09:01 AM
I'm sticking with the dump bucket in the workspace that the script ignores everything inside. It works perfectly, though I'll need to make sure to have the script check for one, and if there isn't one already create one.
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
23 May 2012 09:13 AM
>No. It doesn't work like that.

If they can return the first.. How is it possible that they can't make it return the second,the third etc..?
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
23 May 2012 09:17 AM
[ Content Deleted ]
Report Abuse
MM233 is not online. MM233
Joined: 19 Jun 2008
Total Posts: 925
23 May 2012 12:31 PM
What Oysi is saying is it would be much more efficiant to cast a ray, and make a table of the part hit. Then cast another ray ignoring the part from the first ray, and add that new part to the list and repeat. Thus indexing all the parts along the "ray".
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
23 May 2012 12:37 PM
[ Content Deleted ]
Report Abuse
Valone is not online. Valone
Joined: 08 Feb 2012
Total Posts: 4371
23 May 2012 01:23 PM
Parent them to a tool in the character?
Report Abuse
MM233 is not online. MM233
Joined: 19 Jun 2008
Total Posts: 925
23 May 2012 01:49 PM
No, then they get removed from the workspace when the tool is deselected. I've tried that.

I've got my own solution anyway, so this thread can die. I don't really need it anymore. xD
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