YouGroove Posted August 12, 2014 Share Posted August 12, 2014 Collision for type trigger in the docs is said to detect only with character http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/collision-r778 But after testing in Lua, i have object with Collision type = 5 ("trigger") and it triggers with characters, props and scene. Does the documentation need to be corrected on that point ? (It's better to have trigger volumes possible with all other types as it is usefull for many things) Quote Stop toying and make games Link to comment Share on other sites More sharing options...
macklebee Posted August 13, 2014 Share Posted August 13, 2014 see this explanation: http://www.leadwerks.com/werkspace/topic/10362-physics-collision-overlap/#entry76649 A collision type of 5 is debris, not trigger. And debris only has a "sliding collision" with a scene or prop collision type. For all of the other inherent types there is supposed to be no collision with the debris collision type. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
YouGroove Posted August 13, 2014 Author Share Posted August 13, 2014 I responded in that thread, my problem was not the collision types, but that you get stuck in Lua : You don't have the function : Collision:SetResponse(a, b, type) Quote Stop toying and make games Link to comment Share on other sites More sharing options...
macklebee Posted August 13, 2014 Share Posted August 13, 2014 yes it is in lua. I have been using it for a couple of weeks. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel 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.