How can I prevent the object from still moving into the detection region while colliding ?
I also want this result:
Now I am thinking about the solution, and I also need your help thanks
add: not tiled
I tried to set its speed to zero when collision occurred, but it still moved by rocking the virtual joystick.[Solved] Prevent Moving While Colliding
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Jasoco
- Inner party member
- Posts: 3725
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: [Solved] Prevent Moving While Colliding
Depends on your method of collision detection and resolution. We can't do anything without knowing how you coded it. There are numerous ways of doing collision.
Who is online
Users browsing this forum: Bing [Bot] and 51 guests