Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 gregcotten · Aug 14, 2011 at 05:37 AM · physicsrigidbodytrack

Tracked Ride Physics Simulation

Has anyone had any luck or experience simulating a rigidbody of a given mass "freefalling" on a track (the rigidbody's path/constraint) that banks up, down, left, or right? The only way I could think of would be applying instantaneous force normal, centripital, friction, and gravity to the rigidbody but I think there might be an easier way.

Comment
Add comment · Show 7
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 Julien-Lynge · Aug 14, 2011 at 05:56 AM 0
Share

You could check out iTween, which their website says has a special mode for use with rigidbodies, if all you're trying to do is move something along a path.

avatar image gregcotten · Aug 14, 2011 at 06:08 AM 0
Share

Thanks but I'm actually looking to do a realistic physics simulation and not just an animation along a path.

avatar image Waz · Aug 14, 2011 at 07:15 AM 0
Share

Physics of an object on a fixed track is very specific, and actually rather simple. Unless you need to deal with a cow on the track, the acceleration at any point is pre-deter$$anonymous$$ed by the track design (basically, it's in the direction of the track, with magnitude gravity * sin(angle from horizontal), IIRC).

avatar image gregcotten · Aug 14, 2011 at 04:38 PM 0
Share

@Warwick Allison: Thanks but unfortunately it gets quite a bit more complicated with banked turns and the like. I was hoping someone might have some ideas to share in that regard.

avatar image Waz · Aug 14, 2011 at 09:41 PM 0
Share

How? The banking is fixed too, by the structures of the track. At least they are in real world rides and trains. Banking is a fixed angle around the direction of the track.

Show more comments

0 Replies

· Add your reply
  • Sort: 

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Is it okay to use ForceMode.VelocityChange in Update()? 1 Answer

How do I arc a rigidbody so it lands on a target? 2 Answers

Constant Force doesn't work 0 Answers

Player's Rigidbody slides up terrain walls 1 Answer

Ping Pong bat is not detecting the collision with the wall 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