|
| 30 May 2013 09:30 PM |
| I need a walking zombie that can go through walls for my horror game, but I can't find any, anyone know how to make one? |
|
|
| Report Abuse |
|
|
| |
|
Solotaire
|
  |
| Joined: 30 Jul 2009 |
| Total Posts: 30356 |
|
|
| 30 May 2013 09:31 PM |
1) name your walls appropriately (should be easy if the game is well-designed) 2) update zombie's collision portion of script to check for wall 2a) if wall, set cancollide for zombie parts for false |
|
|
| Report Abuse |
|
|
Youshin
|
  |
| Joined: 02 Mar 2013 |
| Total Posts: 31314 |
|
|
| 30 May 2013 09:32 PM |
properites < can collide < false
add a zombie spawn next to it.
"Airplanes in the Night sky like shooting stars" - BoB |
|
|
| Report Abuse |
|
|
| |
|
Solotaire
|
  |
| Joined: 30 Jul 2009 |
| Total Posts: 30356 |
|
|
| 30 May 2013 09:34 PM |
oh, you'll need to remember to set them back to true also i'd just do it every 10 frames or so because cancollide = false means that events for stopped touching won't work as intended |
|
|
| Report Abuse |
|
|
|
| 30 May 2013 09:35 PM |
| nope still doesn't work, still collides in solid surfaces |
|
|
| Report Abuse |
|
|
Pryovin
|
  |
| Joined: 21 Jan 2010 |
| Total Posts: 31404 |
|
| |
|
TheNov
|
  |
| Joined: 20 Apr 2012 |
| Total Posts: 109 |
|
|
| 30 May 2013 09:36 PM |
| make the zombie can-collide |
|
|
| Report Abuse |
|
|
Youshin
|
  |
| Joined: 02 Mar 2013 |
| Total Posts: 31314 |
|
|
| 30 May 2013 09:39 PM |
then I'd walk through you...
"Airplanes in the Night sky like shooting stars" - BoB |
|
|
| Report Abuse |
|
|
| |
|