HiI was wondering if someone could help me. I knwo this is more than likely been asked before but I haven't been able to find it. I am creating a game which needs me to have more control over the moment than just applying a velocity to it. So I am creating a fixed object and moving it using setPosition. My question is how can I will get this to stop it moving if theres a collision. I was thinking that phontom objects could do the trick by checking if theres a collision in the way before setting the position.Thanks
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.