You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function CheckCollisionRectLine is useful in games where we have two objects and something in between their line of sight.
The Line start is the position of obj1, the end is position of obj2, and the Rectangle is what is blocking their view.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This function
CheckCollisionRectLine
is useful in games where we have two objects and something in between their line of sight.The Line start is the position of obj1, the end is position of obj2, and the Rectangle is what is blocking their view.
Beta Was this translation helpful? Give feedback.
All reactions