Sorry if this is a simple question.
I have 2 players (fighting game)
Both have colliders and a rigidbody2D and the ‘Is Trigger’ On (this is for checking if the player is hit and stuff), now after putting ‘trigger’ on and I press play, both the characters fall through the ground (which also has a collider) which shouldn’t happen.
Before ‘IS trigger’ was turned on, they were both able to walk normally across the ground.
I’m new to Unity and just following tutorials (cant find fix)
So I’m looking for a way to fix this and make the players both step on the ground normally without turning off ‘Is trigger’, if its by script can you possibly do it in JavaScript (so I can try to learn and understand).
could you post a source code?
– lloladinbetter you add a another gameobject only with jus a collider..
– saravanan-P