Jump to content

collide


wildcherrii
 Share

Recommended Posts

Probably the best way to handle this is to just check if the player is the colliding object, and don't explode the land mine if it is. Otherwise, you can use the collision system, but it can get complicated if you start setting up a lot of different collision filters:
https://www.leadwerks.com/learn?page=API-Reference_Object_Entity_SetCollisionType
https://www.leadwerks.com/learn?page=API-Reference_Object_Collision

My job is to make tools you love, with the features you want, and performance you can't live without.

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...