Search the Community
Showing results for tags 'prop'.
Found 2 results
http://pastebin.com/qgMYWban This is the script I used. I basically took the slidingdoor script and ran into this glicht, i removed the Use() function even but it is till usable. When i open the door via trigger, it works fine, but as soon as you use it manually it completely glitches into surrounding things. I already removed the door and set it up new , with all physics settings right, but it will still dont work.
I'm trying to make a trigger that will detect collisions with characters, scene and props, but it seems like trigger response type works only for characters. Collision:SetResponse(10, Collision.Scene, 2) Collision:SetResponse(10, Collision.Prop, 2) Collision:SetResponse(10, Collision.Character, 2) self.entity:SetCollisionType(10) This makes my entity work as trigger for characters, but it collides with props and scene. Using 1 as a third parameter makes it collide with everything, using 0 makes it collide with nothing. Is it a bug or intended? Or am I doing something wrong?