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 vinhuman · Aug 12, 2014 at 08:40 PM · rigidbodymoving platform

Making an object collide with an object without altering its physics? (moving platform)

Hey guys, I'm having trouble putting a player on an object without messing up its physics. In my particular case, the object the player is getting on is a ship. I have it so while on board the player is set as a child object of the ship so the player follows it.

The problem is once ON the ship if the player jumps into a wall or something on the side while the ship is moving, the ship goes into a tailspin. I want player collisions to be completely irrelevant to the ship's physics, but if I ignore the collisions in the physics matrix the player simply falls through the ship. I don't want that either.

So basically, I want the ship's colliders to still impact the player, but I don't want the player's colliders to affect the ship. Any ideas?

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 ian_sorbello · Aug 13, 2014 at 03:42 AM

You need to accurately reflect mass in your rigidbodies.

Think of mass in units - say kilos - but keep them relative.

Your player rigidbody should have a mass of say 60. Your boat should have a mass of say 5000. A 60kg person then won't make a 5 tonne ship tailspin :)

Comment
Add comment · Show 1 · 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 vinhuman · Aug 14, 2014 at 12:15 AM 0
Share

Unfortunately that doesn't seem to be working. I already had tried adjusting the weights. I've set my ship to have 10,000 times the mass of the player. While usually the player cannot put the ship in a 'tailspin' at this point, if the ship is moving forward and the player jumps into a wall the whole ship immediately stops. This is despite the fact they are moving at around equal speeds and the player has .1% the mass of the ship.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

What is the best method for moving platforms? 1 Answer

C# player rigidbody, permaTransfer and moving platform 0 Answers

Prevent Player to fall of a rigidbody platform 2 Answers

Moving kinematic rigidbody causing strange physics behaviour, is this a bug? 0 Answers

Player rigidbody slides off moving platform -1 Answers


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