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 |
|
|
|
| 14 Dec 2015 06:24 PM |
| Set all parts CanCollide to false; it works just fine with NPC's for me. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 14 Dec 2015 06:41 PM |
| Make your own collision system using BodyMovers. |
|
|
| Report Abuse |
|
|
Vultorz
|
  |
| Joined: 02 Mar 2015 |
| Total Posts: 2985 |
|
|
| 14 Dec 2015 06:42 PM |
| Make the player's body non-collide. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|
|
| 14 Dec 2015 06:48 PM |
| The important question here is, is the ghost a player? |
|
|
| Report Abuse |
|
|
cgjnm
|
  |
| Joined: 22 Dec 2011 |
| Total Posts: 2347 |
|
| |
|
|
| 14 Dec 2015 06:52 PM |
| Second important, are the 'other humanoids' ALL players? |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| Joined: 22 Dec 2011 |
| Total Posts: 2347 |
|
|
| 14 Dec 2015 07:00 PM |
| Thanks. OoOo I stumped warspy :D |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 14 Dec 2015 07:11 PM |
| Why would the zombies run into a wall anyway? |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 14 Dec 2015 07:18 PM |
| Ever heard of PathFindingService? It might help you. |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|