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 » Roblox » Suggestions & Ideas
Home Search
 

Re: Collision Layers

Previous Thread :: Next Thread 
Mashend2468 is not online. Mashend2468
Joined: 19 Feb 2011
Total Posts: 67
01 Feb 2015 07:08 PM
Add Collision Layers.

Basically, blocks that are on the same layer collide with each other. Blocks that are not on the same layer, do not collide. In Studio, add a property called something like Layers. Basically, a list with checks would be added. There would be layers like A, B, C, etc. By default, all blocks would be on AllLayers, which means that all blocks would collide with eachother, even if a block was on just layer A. Blocks should be able to be on multiple layers at once. If there are two blocks, and they were both on layer A, they would collide.

Two blocks, one with layer A and B, and one with just layer A, would also collide.

Machines like ball joints and mechanical printers could be made. If you have an idea, just add on to the thread.
Report Abuse
Mashend2468 is not online. Mashend2468
Joined: 19 Feb 2011
Total Posts: 67
01 Feb 2015 07:14 PM
add layers A - F for more fun
Report Abuse
Coriandr is not online. Coriandr
Joined: 25 Jun 2014
Total Posts: 6850
01 Feb 2015 07:17 PM
So what you're saying is like, one-way doors, or whatever?
More than that, I get it, but the basic idea of having one side of a block be able to collide and others not?

That could be a problem. I mean, it could hit the block on the cancollide false part, then go through to the other side that's cancollide, and glitch like hell because it keeps colliding from the other side.



"I just wanted to let you know, the back of yo head is ridiculous." -Daryl, pronounced De-rail
Report Abuse
Mashend2468 is not online. Mashend2468
Joined: 19 Feb 2011
Total Posts: 67
01 Feb 2015 07:19 PM
Not one side doors. Blocks on the same layer collide
Blocks that do not have the same layer checked, don't collide.

Blocks with CanCollide off collide with nothing at all.

Don't over-think. it .3.
Report Abuse
Coriandr is not online. Coriandr
Joined: 25 Jun 2014
Total Posts: 6850
01 Feb 2015 07:22 PM
Ooohh.

So, I could set the top layer as cancollide on Part, and set cancollide on the top and bottom on Brick, and they would collide, but if Block had cancollide on another side, Block wouldn't collide with Part, but it would with Brick?

If so, support.


"I just wanted to let you know, the back of yo head is ridiculous." -Daryl, pronounced De-rail
Report Abuse
Coriandr is not online. Coriandr
Joined: 25 Jun 2014
Total Posts: 6850
01 Feb 2015 07:23 PM
"but if Block had cancollide on another side,"

bottom*
Whoops.



"I just wanted to let you know, the back of yo head is ridiculous." -Daryl, pronounced De-rail
Report Abuse
Mashend2468 is not online. Mashend2468
Joined: 19 Feb 2011
Total Posts: 67
01 Feb 2015 07:24 PM
What is it with the one side stuff? The collision layer applies to the whole block.

You pretty much got the idea though.
Report Abuse
Coriandr is not online. Coriandr
Joined: 25 Jun 2014
Total Posts: 6850
01 Feb 2015 07:25 PM
The whole block?

Erm....



"I just wanted to let you know, the back of yo head is ridiculous." -Daryl, pronounced De-rail
Report Abuse
Mashend2468 is not online. Mashend2468
Joined: 19 Feb 2011
Total Posts: 67
01 Feb 2015 07:28 PM
There could be a one side collision feature too. (just another check box with a list of faces to collide on)

Still, adding it would allow ball joints that max out at 5x5x5 studs
Report Abuse
ArcticSorcery is not online. ArcticSorcery
Joined: 19 Aug 2009
Total Posts: 4761
01 Feb 2015 07:34 PM
sounds cool

i would be able to have spawns where the enemy team wouldn't be able to enter

but, it should be a method you apply to a block

does stuff like block:SetCanCollide("A", true)

it would have block cancollide "A" true by default or something
Report Abuse
bulletsclan is not online. bulletsclan
Joined: 20 Jul 2010
Total Posts: 2
04 Mar 2016 01:31 PM
Other game engines like unity 3D and Cry Engine has this ability to pick collision layers. Honestly it is quite useful for example if you want some brick not to collide with the ground you can check the bricks layer off only for ground. I believe if Roblox had a system for tags it would be almost the same effect expect will probably cause more lag then ten just adding layers.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Suggestions & Ideas
   
 
   
  • 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