Sargeant12344 Posted March 9, 2016 Posted March 9, 2016 Title. Ive currently been using this script however when i was making a ladder trigger I found it to be inadeqaute. function Script:Start self.entity:Hide() end Quote
macklebee Posted March 9, 2016 Posted March 9, 2016 Entity:Hide() This functions hides an entity. A hidden entity will be invisible, will not collide with other entities, and its 4x4 matrix will not be updated when the parent moves. For trigger boxes and the such, use the invisible.mat material file found in the Materials/Effects folder. 1 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel
klanphear Posted March 9, 2016 Posted March 9, 2016 You can also make it invisible on start like the fpsplayer script, line 187. That way you can see it in the editor but not in the game. 1 Quote
Slastraf Posted March 10, 2016 Posted March 10, 2016 On 3/9/2016 at 11:32 PM, klanphear said: You can also make it invisible on start like the fpsplayer script, line 187. That way you can see it in the editor but not in the game. I use this all the time. it is much easier to work around in the editor like that Quote
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.