Applying Physic to 8 Direction Movement

Get help using Construct 2

Post » Sun Jun 30, 2013 9:35 pm

Hello dear community!

Today, I have encountered a problem about 8 Direction Movement. When object moves by 8 Direction, physic forces cannot be applied on object until 8 Direction movement stops. I want to solve this without using physic or custom movement instead of 8 Direction.

Why is it disabled when using 8 Direction movement? I want to use it as usual. I am sending capx file.

Thanks...

http://wikisend.com/download/591432/8movementphysic.capx
B
3
Posts: 12
Reputation: 249

Post » Sun Jun 30, 2013 10:14 pm

There's nothing to solve. The physics behaviour doesn't play well with anything else that sets position/rotation, including all movement behaviours.

It's possible to get something passable with a lot of tweaking, but the results will very often be unpredictable. Ideally you should stick to either all physics (using forces, torque and impulses for movement), or no physics for each object in question and the objects with which they interact.
B
57
S
15
G
11
Posts: 912
Reputation: 12,581

Post » Sun Jun 30, 2013 11:37 pm

Tip of the day ;

Most of the behaviors don't like each others !

Cheers !
B
38
S
16
G
17
Posts: 2,230
Reputation: 17,220


Return to How do I....?

Who is online

Users browsing this forum: LukeW, tarek2, totoe and 7 guests