Game Development Asked by Liad on January 14, 2021
I am using a Rigidbody2D to handle collision between different units.
When the player’s units encounter one another, they push each other because of the rigid body physics (and that’s good for me).
But when the player unit encounters an enemy unit, he pushes it in the same way.
What are the solutions to make enemy’s units unmovable by my units? (And my units unmovable for the enemy?)
(I know I could use isKinematic
but I want the player’s units to keep interacting with each other.)
2 Asked on December 12, 2020 by paytopwn
2 Asked on December 3, 2020 by zawada
0 Asked on December 3, 2020 by jacksonba90
2 Asked on November 28, 2020 by trgamer-tr
1 Asked on November 26, 2020 by kaod
0 Asked on November 14, 2020
1 Asked on November 13, 2020 by 1234567890
1 Asked on October 18, 2020 by phoenix
1 Asked on October 11, 2020 by big-t-larrity
1 Asked on October 2, 2020 by ali-nategh
0 Asked on September 26, 2020 by nairou
1 Asked on September 18, 2020 by grimelios
Get help from others!
Recent Questions
Recent Answers
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP