Structures made of smaller objects

Get help using Construct 2

Post » Sun Jun 26, 2016 4:28 pm

Hey everyone,

So, I'm trying to make a physics structure composed by other smaller objects, that also have physics.
I need to have the ability to edit the structure, by adding/removing/moving the smaller objects, but I can't figure out a way to "glue" the smaller objects together, so that i can later move the whole structure. I tried using multiple image points in each small object, to detect their position relative to the others, but that didnt work :?

Hope you guys can help me, thanks!

*Edit : I also tried using Containers, but because im using a Family for all of the smaller objects, i can't seem to add all of them them to containers at once.
B
5
Posts: 23
Reputation: 271

Post » Sun Jun 26, 2016 5:15 pm

Check Physics : Joints
also check pin behavior
B
22
S
4
G
3
Posts: 61
Reputation: 2,683

Post » Sun Jun 26, 2016 5:20 pm

Yeah I also tried joints and pins but i couldn't make the smaller objects detect when they are part of the structure. How do i check for nearby objects?
B
5
Posts: 23
Reputation: 271

Post » Sun Jun 26, 2016 5:24 pm

Pick nearest/furthest under objects conditions
B
22
S
4
G
3
Posts: 61
Reputation: 2,683

Post » Sun Jun 26, 2016 5:30 pm

Still doesn't work, i think it's because the objects are in the same family, and i want the position checking to apply to all of the objects in the family
B
5
Posts: 23
Reputation: 271

Post » Sun Jun 26, 2016 5:52 pm

use repeat N times combined with a variable that will control which objects were already picked
submit a .capx for detailed help
B
22
S
4
G
3
Posts: 61
Reputation: 2,683

Post » Sun Jun 26, 2016 6:10 pm

Baionera wrote:so that i can later move the whole structure.


How wil you be moving the whole structure ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Sun Jun 26, 2016 6:13 pm

Using physics forces on the center of mass of the whole structure, why?
B
5
Posts: 23
Reputation: 271

Post » Sun Jun 26, 2016 6:42 pm

Because its important to answer the question. Now i know that you should use joints. I see you saying that you tried that.

Why dont they work ? What is the problem with joints ? Plz, explain.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Sun Jun 26, 2016 6:48 pm

Nevermind, got it working! Had to use image points on each object to snap them into the other objects, while their physics component is disabled.
Thanks for the help!
B
5
Posts: 23
Reputation: 271


Return to How do I....?

Who is online

Users browsing this forum: Armench, Jackriduk, kiki4construct and 27 guests