How to measure collision impact?

Get help using Construct 2

Post » Mon Mar 18, 2013 7:19 pm

Was wondering what would be the best way to measure impact upon collision. By way of example, if I have a rock of a certain density traveling at a certain velocity, it should deliver a greater impact if the velocity is higher, etc. I want to have some objects get destroyed but only if the impact is great enough. Any ideas on the best way to do this?
B
9
S
3
G
4
Posts: 80
Reputation: 3,268

Post » Mon Mar 18, 2013 7:38 pm

Make a variable durability for each object , Wood would have 100 and diamond 1000 and the collision impact would be Mass*Velocity

If impact > durability , destroy or tear apart object

But try and keep it realistic ... Whiteclaws2013-03-18 19:39:52
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Tue Mar 19, 2013 8:47 pm

Thanks so much. I was making it far too complicated.
B
9
S
3
G
4
Posts: 80
Reputation: 3,268


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests