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 /
This question was closed Apr 08, 2018 at 09:13 AM by Bunny83 for the following reason:

The question is answered, right answer was accepted

avatar image
1
Question by Brachiosaurus · Jan 21, 2018 at 07:59 PM · physics2danimationsplatformercharacter controllermoving platform

Why is this happening? (gif attached)

So I have been trying to get moving platforms to work in 2d for forever now, and I just can't figure out why this is happening, the moving platforms adopt the player as their child, and all seems fine until the player moves. I tried it out with only the most basic stuff (the standard unity character and scripts), and the player still moves slower on the moving platforms than the normal speed. See the two gifs attached for comparison, they are in the same time/frame rate... (sorry for the flashing images)

alt text alt text

ezgifcom-video-to-gif-1.gif (324.0 kB)
ezgifcom-video-to-gif.gif (257.7 kB)
Comment
Comments Locked
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

2 Replies

  • Sort: 
avatar image
2
Best Answer

Answer by Brachiosaurus · Jan 26, 2018 at 11:12 PM

If anyone still cares, the answer is actually the in the interpolation settings on the player's rigidbody. to anyone in the future who has this issue I recommend playing with that setting and making the platform set it to none or extrapolate, as well as adopt the player on collision.

Comment
Comments Locked · 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 chrisay · Apr 08, 2018 at 09:11 AM 0
Share

Thank you, thank you thank you. I've had a similar kind of problem and that fixed it. This needs to be seen more.

avatar image
0

Answer by lassade · Jan 21, 2018 at 08:39 PM

A few ideas that you can try:

  1. Maybe there is some friction between the player and the platform, try check removing any physics material from the platform and the ground

  2. When you say "standard unity character" you mean CharacterController try use SimpleMove instead of Move.

  3. Try set the platform rigidbody to kinematic if not already

Comment
Comments Locked · 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 Brachiosaurus · Jan 21, 2018 at 08:57 PM 0
Share

no luck with the first and last ideas, but I'd like to try the second one... I am using the platformerCharacter2D script, how does simple move work? perhaps I could change up the movement in the script... (thanks for the reply by the way, I'm desperate for any answers...)

Follow this Question

Answers Answers and Comments

79 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 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 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

CharecterController.Move() ignores parents movement 0 Answers

Dynamic colliders without Rigidbodies? 0 Answers

Can´t get the character to Stay on a moving Platform 1 Answer

Unity physics 2d crack between colliders. 5 Answers

Character Controller falls when over Moving Platform 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