How to make attached components not collide with each other?
So I'm basically making a game like space engineers, where you can place blocks in a grid on a space ship. So the ship is an actor, and the different blocks are scene components added to the actor from within the ship actor's event graph.
The issue is, when I have multiple things attached, some blocks collide with other blocks in the same ship. Like if a character was holding a sword and the sword is colliding with the character's hand, pushing the actor flying.
I tried doing this by setting the collision channel to ignore itself, but then different ships wouldn't collide with one another.
Basically I want the whole ship to act as one physics body, not collide with itself, and collide with other ships.
asked Oct 26 '17 at 09:44 PM in Blueprint Scripting
I think I've figured out what to do, I made them not collide with each other and just overlap, but then if the ship runs into another ship I'll do the calculations my self for the physics, it'll probably be easier that way anyway. Thank you for your help though
I don't know what is Add Reactor function, but have you tried AttachToComponent/AttachToActor?
answered Oct 27 '17 at 02:05 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here