Make an emitted object pass through some objects but not all
I want to have a bullet hit an enemy vehicle but pass through my vehicle object (bouncy bullets). I have tried using a friendly tag on my vehicle and then removing 'friendly' from collidable on the bullet's properties but it doesn't work... Is it something to do with the 'owner' input in the sculpt properties???
-
You can set an object to only collide with specified tags on the tweak menu.
Hope this helps :) Peter -
'@mmdev7 Will you be able to set your own tags in the full game? It would make things much easier!
-
Hi Peter, that's what I did, I edited both objects in tweak menu. Vehicle set with friendly tag in tweak menu, in projectile tweak menu I turned off friendly (in collidable). Emitted projectile still collides...
-
I edited the projectile by using show/hide - invisible. Should I be selecting a new object in the emitter tweak menu? A new object that has already been tweaked with friendly tag off in collide tab?
-
Ok so I figured out where I had gone wrong... Had to assign both objects with 'friendly' tag in the tweak menu and set BOTH objects to ignore 'friendly' tag in collide menu.
Before, I had just set the projectile to not collide with the vehicle, but the vehicle was still set to collide with the projectile, hence why it wasnt working. All good now. Ta!
Please sign in to leave a comment.