Einlander Posted February 9, 2014 Share Posted February 9, 2014 I am trying to write a script that will ignore specific entities, specifically the one that it's parented to. I had a box csg parented to the fpsplayer prefab, but that constantly triggered. I want to be able to modify the script to ignore the parent model/prefab. Any pointers where I should start? Edit: Wow, as I was uploading a script I found http://www.leadwerks.com/werkspace/files/file/467-selective-collision-trigger/ so I can get it to detect the entity and by switching it to ~= I should be able to ignore that entity. Will it be able to detect other csg/prop objects or will I need to write a more complex script? Quote Link to comment Share on other sites More sharing options...
Rick Posted February 9, 2014 Share Posted February 9, 2014 The only way csg objects can be seen individually is by either giving a csg object mass or attaching a script. Without those 2 ways all csg gets collapsed into the same object. Providing 1 of those 2 things to a csg object makes it more like a model/entity in your game where you can find it and do things with it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.