How do I prevent 8 way sprite from flinching collision?

Just started using Construct 2? Post your questions here

Post » Thu Dec 22, 2016 6:48 am

I have a sprite that has 8 way behavior. At the beginning, I turn the behavior off.
The problem is, when the sprite being hit by other objects, it will activate the " built-in physics" and will make that sprite "flinching", that is, moving randmoly when being hit. I need the sprite to stay at where it was.

How to prevent this problem? (in addition, I also used SOlid behavior, but I turned it off).
B
7
S
1
Posts: 16
Reputation: 409

Post » Thu Dec 22, 2016 10:05 pm

Show the problem in a reduced capx ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Thu Dec 22, 2016 10:37 pm

Message: GUN can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
allright . Just kick the sphere to the green one.

http://s000.tinyupload.com/?file_id=224 ... 4333172519
B
7
S
1
Posts: 16
Reputation: 409

Post » Fri Dec 23, 2016 8:45 am

Sorry , this is the right one. Please answer.

http://s000.tinyupload.com/?file_id=18066934472432355066
B
7
S
1
Posts: 16
Reputation: 409

Post » Fri Dec 23, 2016 12:49 pm

8Direction for Player2 is enabled.
There is nowhere an event that sets it to disabled.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Fri Dec 23, 2016 10:59 pm

Sorry, wrong script. What I'm trying to say is, if 8 way behavior is disabled, it will stop flinching, but there are no collision with other solid objects, like a sphere or a solid blocks. But if the behavior is enabled ,it will collide with solid objects but will flinching.
Is there a way to solve this?
B
7
S
1
Posts: 16
Reputation: 409

Post » Sat Dec 24, 2016 12:12 am

B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Sat Dec 24, 2016 10:20 pm

Yeah. That's it. Thank you very much.
B
7
S
1
Posts: 16
Reputation: 409


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest