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: How to do this?

Previous Thread :: Next Thread 
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
14 Dec 2015 06:20 PM
I know there has to be a way to do this...

Scenario:

A ghost humanoid figure can walk through walls.
Other humanoids (including players) can't.
Both cannot go through floor.

Any help or links would be appreciated.
Report Abuse
UnstableScript is not online. UnstableScript
Joined: 11 Dec 2015
Total Posts: 410
14 Dec 2015 06:24 PM
Set all parts CanCollide to false; it works just fine with NPC's for me.
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
14 Dec 2015 06:25 PM
If I were to do that, anything would go through it...
Report Abuse
iAexura is not online. iAexura
Joined: 23 Nov 2015
Total Posts: 98
14 Dec 2015 06:26 PM
You can use FilteringEnabled and uncancollide every part in the game (except platforms)
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
14 Dec 2015 06:40 PM
But I want it so certain humanoids can walk through walls but not others.
Report Abuse
UnstableScript is not online. UnstableScript
Joined: 11 Dec 2015
Total Posts: 410
14 Dec 2015 06:41 PM
Make your own collision system using BodyMovers.
Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
14 Dec 2015 06:42 PM
Make the player's body non-collide.
Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
14 Dec 2015 06:42 PM
Nevermind I just thought of what I posted.
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
14 Dec 2015 06:46 PM
Instead of making my own collision system, is there a certain way on Roblox to make certain parts go through certain parts, or another method of doing this?
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 Dec 2015 06:48 PM
The important question here is, is the ghost a player?
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
14 Dec 2015 06:49 PM
No
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 Dec 2015 06:52 PM
Second important, are the 'other humanoids' ALL players?
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
14 Dec 2015 06:52 PM
No.

Some humanoids will be ghost, other will be zombies and players
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 Dec 2015 06:58 PM
Dang you made this difficult.

I'll think on this, and if no one posts for a while, I'll be back with my best idea.
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
14 Dec 2015 07:00 PM
Thanks. OoOo I stumped warspy :D
Report Abuse
UnstableScript is not online. UnstableScript
Joined: 11 Dec 2015
Total Posts: 410
14 Dec 2015 07:05 PM
My collision system idea is still up; for your purposes, just detect .Touched, and if you don't want it to collide, move them back about 0.3 studs with a BodyPosition in the torso.
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
14 Dec 2015 07:07 PM
That could potentially be faulty.

I've been in games where if you try just right, you can get past those kind of doors. Like the VIP doors that push non-VIP members back, if you hit it with enough speed, you can easily go through
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 Dec 2015 07:11 PM
Why would the zombies run into a wall anyway?
Report Abuse
UnstableScript is not online. UnstableScript
Joined: 11 Dec 2015
Total Posts: 410
14 Dec 2015 07:11 PM
It's not really faulty. They might get through for about maybe, 0.005 of a second, but if you set the P property up high enough that probably won't happen.
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
14 Dec 2015 07:13 PM
Zombies would walk into a wall if a player is on the other side of it.
Report Abuse
UnstableScript is not online. UnstableScript
Joined: 11 Dec 2015
Total Posts: 410
14 Dec 2015 07:18 PM
Ever heard of PathFindingService? It might help you.
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
14 Dec 2015 07:20 PM
I have heard, not sure if it would still go through Collide-able parts or not.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 Dec 2015 07:21 PM
Then I recommend using BodyMovers and implementing a .CanCollide change for ghosts, whereas create a local wall for all players so that way no matter what they aren't getting through,
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 Dec 2015 07:23 PM
So to sum up what I'm saying

Use FE and create local solid walls for everyone
On the server's end create a wall which will go uncancollidable when a ghost comes
Keep it collidable and any other point in time, and use the pathfinding service to insure zombies don't go through the wall.


Seems fool-proof in theory, give it a shot and lemme know how it takes in practice.
Report Abuse
UnstableScript is not online. UnstableScript
Joined: 11 Dec 2015
Total Posts: 410
14 Dec 2015 07:24 PM
I never thought I would actually spam another's post, but sigh, I need help.

War, can you help me? I can provide code if the math and snippets wasn't enough.

http://forum.roblox.com/Forum/ShowPost.aspx?PostID=179659711
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