Help with pinned physics

Get help using Construct 2

Post » Wed Apr 10, 2013 1:22 pm

Hi there, im from Russia, sorry for my grammar. And i need help comrads)

I making 2d stunt racing game for tablets. I make Car from multiply object with physics behaviour(doors,base,wheels and etc). I pinned all destroyable physical object to one Car base with Position and Angle. But pinned objects with physical behaviour dont collide with ground, its like collision mask disabled. Collisions are tracking but objects dont collide. Help me with it. Or say me another way to make physical objects stay together

Here some screens from crush tests)
before
http://screenshot.su/show.php?img=351be0d7a06970d1462595229052b8a8.jpg
after
http://screenshot.su/show.php?img=55f734a8f03d6d62c1f5fe54f5b0e766.jpg
http://screenshot.su/show.php?img=a3e318671c9b71b3d109e5b493dffbf1.jpg
http://screenshot.su/show.php?img=c96ca3e6d4943763f48cc50478d9fab0.jpgFarsight2013-04-10 13:22:59
Creator of MiniDayZ
B
19
S
2
G
2
Posts: 61
Reputation: 1,755

Post » Wed Apr 10, 2013 10:23 pm

Combining the physics behaviour with any other behaviour that affects position is usually a bad idea. The other behaviours override the physics behaviours and create a very unstable physics simulation. You should rather use the physics joints to attach together physics objects.
B
56
S
15
G
10
Posts: 910
Reputation: 11,972

Post » Thu Apr 11, 2013 6:37 am

When i use physics joints object rotates around image point. i need to keep angle and position
Creator of MiniDayZ
B
19
S
2
G
2
Posts: 61
Reputation: 1,755

Post » Thu Apr 11, 2013 8:50 am

You need to use the right joint for the right situation. I suggest that you read this tutorial: https://www.scirra.com/tutorials/65/physics-in-construct-2-forces-impulses-torque-and-joints
B
56
S
15
G
10
Posts: 910
Reputation: 11,972


Return to How do I....?

Who is online

Users browsing this forum: gumshoe2029 and 26 guests