Jump to content

Documentation correction for Collision type Trigger


YouGroove
 Share

Recommended Posts

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)

Stop toying and make games

Link to comment
Share on other sites

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.

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

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.

 Share

×
×
  • Create New...