Ahsham Ali
unread,May 5, 2014, 11:34:17 AM5/5/14You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I want to detect the collision of specific objects, I'm currently using their difference for that sake, but its only works on one axis at a time, I'm doing this on y-axis currently.
My Code:
if ((abs(Obj1.translation(2)-Obj2.translation(2))<=Obj2.translation(2)) )
CollisionCount=CollisionCount+1;
end
How I can improve this, other techniques are also favorable for me, as the two objects haven't well defined shapes, like circle or square.