Question: i have two functions below one is the helper function which takes four parameters helping to see if there is a general collision between two
i have two functions below one is the helper function which takes four parameters helping to see if there is a general collision between two objects and has two be used in the second function also here below to see if there is an intersection between two defined objects in the program so please how to solve them. function ifIsInside(locA,sizeA,locB,sizeB) { }
function checkCollusion() { check collision between objectA and ObjectB where here the ifIsInside(locA,sizeA,locB,sizeB) has to be used inside this function }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
