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 sjblue · Jun 23, 2015 at 06:34 AM · rigidbodyvibration

Elevator vibrating!!!

Hi everybody. Here i found a terrible problem. I made a custom elevator with some simple 3d objects. Parented all the retail objects under the *Elevator gameobject and made it a single prefeb. Then add a simple animation and some simple codes that moved it. Then i scripted my character with simple codes. Whenever my character is on the elevator and press the trigger, the elevator start moving. BUT THE PROBLEM IS, IT MOVES WITH VIBRATION. I have added rigidbody to my player. Whenever i deselect the rigidbody, the Elevator moves smooth. But as soon as i reselect rigidbody, the Elevator again start vibrating. I want to run my elevator even if my character has rigidbody attached with it. How to fix this???

Comment
Add comment · Show 13
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 applemaniac · Jun 23, 2015 at 07:57 AM 0
Share

Has your elevator also a rigidbody attached to it ?

avatar image Naphier · Jun 23, 2015 at 08:10 AM 0
Share

Sounds like gravity is acting on the elevator

avatar image sjblue · Jun 23, 2015 at 08:44 AM 0
Share

@applemaniac no. Rigidbody is attached to the player only.

avatar image applemaniac · Jun 23, 2015 at 09:40 AM 0
Share

$$anonymous$$aybe it has a collider ? try to change the method of colliding in the options

avatar image meat5000 ♦ · Jun 23, 2015 at 11:03 AM 1
Share

Place your camera on the elevator. This way you can really see if its the elevator vibrating.

If your camera is tethered to your player it is likely your player vibrating.

It has a rigidbody so the upward force of the lift is projecting the player upwards, then he comes back down with gravity. Rinse and repeat. ie he is not moving at the same rate as the lift, he is a pingpong ball on a giant bat.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by inafield · Jul 03, 2015 at 07:33 AM

Rigidbody is on the player. Therefore gravity is acting on the player. The player is acting on the elevator. Therefore gravity is acting (albeit intermittently) on the elevator by way of the player.

When you press the trigger, first turn off the rigidbody, then start the elevator movement. Turn the rigidbody on after the elevator has stopped moving and before the user can regain control of the player.

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 sjblue · Jul 16, 2015 at 12:02 PM 0
Share

Um, that make sense, at least in some cases. Thanks by the way.

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

28 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiplayer Rigidbody Vibration 2 Answers

rigidbody vibration 0 Answers

Enemy vibrates when it reaches the player 0 Answers

3D Cubes vibrating and sliding while ontop of eachother 0 Answers

Moving Rigidbody with Translate causes vibrating player when walking into objects 2 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