Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Sydious · Mar 20, 2012 at 01:22 AM · physicsmath

How much force?

This may be a simple question to you math wizs out there......

In Unity, if I have two objects moving twards each other, and they collide. I want to be able to measure how much force it was.

How would I go about figuring that out? I would like to measure the force of the impact, and then based on that force, if it is > then (some value) i want the colliding object to "break".

Anyone know how to achive this?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by DaveA · Mar 20, 2012 at 01:31 AM

Newton: F=ma, p = mv

If you know the mass of your object, and it's acceleration, you know the force it carries. There is a nice discussion of this subject here: http://spiff.rit.edu/classes/phys311.old/lectures/impulse/impulse.html

But for your purposes, multiply the velocity times the mass (to get momentum) and compare that to some threshold value. Unless it needs to be really accurate, that should be close enough an approximation.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Sydious · Mar 20, 2012 at 01:59 AM 0
Share

Ok.. that takes me WAY back to the days of school..to long ago....

How can i figure out the acceleration?

I have objects that are riding down tracks towards each other...

The objects have a mass of 2000 Another object is sitting atop each object and they have a mass of 300

I apply a constant force of 100,000 to the 1st object.

So I guess I have objects that have a total mass of 2300 moving towards each other with a constant force of 100,000.

Where can I get acceleration from that?

The track is made out of colliders....no riggedbodys on track...just objects so I am not sure if there is any friction/drag from the track.

avatar image DaveA · Mar 20, 2012 at 02:10 AM 0
Share

I think it would be deceleration (negative acceleration) at the time of impact. If both object stop over 1/60 second, you can compute the change in velocity (aka acceleration) which should give force.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Finding the axis of a curving pipe 0 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Calculating trajectory of elliptical orbit? 2 Answers

Trying to move an object towards another's axis. 1 Answer

When dragging a Door open using RIGIDBODYSCRIPT Plays sound. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges