wildcherrii Posted April 19, 2022 Share Posted April 19, 2022 how to make my character control NOT collide with and vice versa with another entity, not all entites, just a few I put on the map. My player is walking into his own land mines and blowing up, in the real world that is true but not in this game hehe. Quote Link to comment Share on other sites More sharing options...
Josh Posted April 19, 2022 Share Posted April 19, 2022 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 Quote 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 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.