two questions abaut physics

Get help using Construct 2

Post » 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
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Sun Dec 18, 2011 8:30 am

Try with different density maybe.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Sun Dec 18, 2011 9:06 am

i try this and looks better :) now any ideas how i can add weight of objects?
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Sun Dec 18, 2011 7:11 pm

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

Post » Sun Dec 18, 2011 7:32 pm

where i find this option?
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Sun Dec 18, 2011 8:09 pm

The mass is the density (set manually) multiplied by the area of the collision polygon.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » 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
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » 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
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » 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
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » 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

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Next

Return to How do I....?

Who is online

Users browsing this forum: benajad, Braus, R0J0hound, shinkan and 26 guests