- Home /
tags on ContactFilter2D?
im kinda new to unity and im not sure how ContactFilter2D works... on other commands i would simply use if (gameObject.tag == "Wall") but it doesnt seems to work on this case
int resultCount = collision2D.Cast(new Vector2 (scale_x ,0), gameObject.tag == "Wall" ,results, dashspeed, true);
what am i supposed to do?
Comment
Your answer
Follow this Question
Related Questions
OnCollisionEnter2D is not working when an object tagged "Enemy" is not present in the game. 0 Answers
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Slider will dissapear after reaching a value 1 Answer
How to drag a sprite in a limit space after it finished playing animation 0 Answers