How do I change the center of mass?

Get help using Construct 2

Post » Sat Apr 12, 2014 3:42 pm

In order to make an arrow (with a physics behavior) fall with its arrowhead first, I presume that you need to change the center of mass to the arrowhead. But how do I do that? I can access the X and Y coordinates of the center of mass of an object, but how do I change them?
B
3
Posts: 3
Reputation: 193

Post » Sat Apr 12, 2014 3:54 pm

just move the 0 image point in the object.
https://www.scirra.com/manual/48/image- ... ons-editor
B
43
S
12
G
6
Posts: 446
Reputation: 6,802

Post » Tue Apr 15, 2014 1:52 am

??? That doesn't seem to work for me. If I put the origin at the arrowhead and add a physics behavior to it, it falls flat down. ???
B
3
Posts: 3
Reputation: 193

Post » Tue Apr 15, 2014 12:29 pm

Change the collision polygon. The center of mass is calculated based on that shape.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Mon May 26, 2014 5:34 pm

Thanks, that helps a lot! One more question, though... How do I get one part to be more dense than another? I want that weight of the arrowhead to count more than the wooden shaft. Thanks a lot, though! That really answered my question!
B
3
Posts: 3
Reputation: 193


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Syazanie Amirin and 11 guests