Jump to content

Recommended Posts

Posted

This is driving me crazy. I have a very simple scene with 2 objects, one is marked as hidden, the other is not. In the editor the hidden object is hidden but when I run the project both objects are visible. Apparently I cannot upload a .map file so "cant_hide.txt" will need to be renamed to .map.

 

What am I missing for this to work?

post-13860-0-99558600-1422226243_thumb.png

post-13860-0-83521400-1422226252_thumb.png

cant_hide.txt

Posted

CSG/BSP is special in that it gets collapsed and not treated as a normal entity (hence losing some properties like hidden or not). You can counter this and make it always treated as a normal entity by giving it mass or attaching a script. I often make a blank script and attach it.

Posted

You can also utilize the invisible material (under effects) to make it just not visible to the player. Adding mass can make it act strange with the physics when all you want is a placeholder or bounding box, for example.

Coding for Christ.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...