# two questions abaut physics

Get help using Construct 2

### » Sat Dec 17, 2011 11:51 pm

First. How i can do a weight of box. I pushing box with character and when i push paper box, this box push easy, when is a wooden box pushing is harder to do.

Second: When I lay brick on brick in the small towers, the tower itself will quickly falling apart because ceg?u bounce away from each other. How to set the parameters of physics to lay bricks calmly.
Now my boxes are shaking so must stand still

Thank you for moments of attention.delgado2011-12-18 00:13:34
B
119
S
32
G
53
Posts: 1,897
Reputation: 39,571

### » Sun Dec 18, 2011 8:30 am

Try with different density maybe.
B
71
S
22
G
14
Posts: 1,494
Reputation: 16,660

### » Sun Dec 18, 2011 9:06 am

i try this and looks better :) now any ideas how i can add weight of objects?
B
119
S
32
G
53
Posts: 1,897
Reputation: 39,571

### » Sun Dec 18, 2011 7:11 pm

Use the mass Object_Name.Physics.MassZephlon2011-12-18 19:14:32
B
26
S
9
G
8
Posts: 71
Reputation: 5,432

### » Sun Dec 18, 2011 7:32 pm

where i find this option?
B
119
S
32
G
53
Posts: 1,897
Reputation: 39,571

### » Sun Dec 18, 2011 8:09 pm

The mass is the density (set manually) multiplied by the area of the collision polygon.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,739

### » Sun Dec 18, 2011 8:26 pm

I tried to enter in the edit box 'density' 'Object_Name.Physics.Mass' can not be.
So I went to the event sheet and there. Every tick-> Set Density and there I entered 'Object_Name.Physics.Mass'
I do not know if I understand my english is not very well
B
119
S
32
G
53
Posts: 1,897
Reputation: 39,571

### » Sun Dec 18, 2011 8:42 pm

OK. You are confused with expressions and properties.
EXPRESSIONS, like 'Object_Name.Physics.Mass', tell you a value. You cannot change these directly.

PROPERTIES (like density) are changed by the properties panel (to the left of the screen by default).

think of expressions as things you GET and properties as things you SET.

To do what you want, set DENSITY.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,739

### » Sun Dec 18, 2011 8:46 pm

My character had 'solid' behavior and' physics' i tried set density of this box lihgt/ heavy and 0.5 density / 10 density. I push this boxes with this same speed.
B
119
S
32
G
53
Posts: 1,897
Reputation: 39,571

### » Sun Dec 18, 2011 9:11 pm

Better check the manual about expressions and properties.
This is part of the basics of C2.

[quote]First. How i can do a weight of box. I pushing box with character and when i push paper box, this box push easy, when is a wooden box pushing is harder to do.[/quote]
Emulate this by changing the force/impulse of the push. (refer to the physics advanced tutorial).

[quote]Second: When I lay brick on brick in the small towers, the tower itself will quickly falling apart because ceg?u bounce away from each other. How to set the parameters of physics to lay bricks calmly.[/quote]
As already said in this topic, try to tweak the density as well as the elasticity properties.
If less elastic, the bricks should les propagate their own momentum and spread their force to the stack.
New to Construct ? Where to start

Please attach a capx to any help request or bug report !
Moderator
B
311
S
128
G
101
Posts: 7,416
Reputation: 75,228

Next