Collision Error
Backtothis
Member, PRO Posts: 75
So I have two objects, objects A and B. Object A only has a Y velocity, this changes based on user input. Object B has both an X and a Y velocity. When they collide, stuff happens.
If Object B only has an X velocity, this works fine. But the moment I add in a change attribute for linear motion.Y, the collision detection no longer works properly. Object B will detect the collision (and destroy itself), but object A does not detect that anything has happened. Why?
Comments
Well I figured it out. It seems that if the object has both linear velocities set, Collision by type does not work. However, without changing anything else except adding a tag for the actor, and using collision by tag instead, it worked.