HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [Resolved] Invisible walls  (Read 1555 times)

Dothackking

  • General Accounts
  • *
  • Posts: 34
    • View Profile
[Resolved] Invisible walls
« on: Jan 17, 12, 10:22:47 PM »

How do I make invisible walls? I have searched the wiki and the forums.


Any help would be appreciated
« Last Edit: Oct 31, 12, 03:27:19 PM by HE-Cooper »
Logged

FI-ScottZ

  • General Accounts
  • *
  • Posts: 1407
    • View Profile
    • Forever Interactive, Inc.
Re: Invisible walls
« Reply #1 on: Jan 18, 12, 12:38:02 AM »

You can put in any static model and then set its diffuse and ambient color to #0,0,0,0.  (Really only the last 0 matters since it is the alpha).  Presumably you want the wall to block players, so you need to be sure the collision is set up correctly for the model to not allow characters to pass through it.
Logged
Scott Zarnke
Lead Programmer, Visions of Zosimos
CTO, Forever Interactive, Inc.

ConvertibleTurtle

  • General Accounts
  • *
  • Posts: 15
    • View Profile
Re: [Resolved] Invisible walls
« Reply #2 on: Apr 30, 15, 01:57:19 PM »

Another thing I've discovered.. you can put in a new room, make it not visible to any other rooms and then after making all of your wanted walls, even use a terrain map instead then overlay it on the room you wish to hinder.

That was more of an accidental discovery, but could be leveraged that way.

Not sure which would be better for performance reasons at present.
Logged

keeperofstars

  • General Accounts
  • *
  • Posts: 998
    • View Profile
    • StarKeeper Online
Re: [Resolved] Invisible walls
« Reply #3 on: May 01, 15, 10:07:48 PM »

Can also build collision meshes and use them to block / be invisible walls.
Logged
[img]http://screencast.com/t/x7btcSSyp3h0[\img]