Quantcast
Channel: Questions in topic: "ignorecollision"
Viewing all articles
Browse latest Browse all 148

ignore collision when bool false?

$
0
0
Is there a way to ignore collision with 2 objects if the bool is false and then when true the two object are allowed to collide. so for example: I have a bullet that only can deal damage if bool is true which is set to true by reflecting of my object (shield). I want to know if the bullet can ignore collision with everything but the object (shield) that reflects and be able to pass though my other objects (enemies) ignoring collision when bool is false. But if the bool is set to true go back to colliding with my other objects (enemies)

Viewing all articles
Browse latest Browse all 148

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>