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 Jakob Steinn · Aug 02, 2010 at 03:14 PM · collisionphysicsplatformeritweenmove-with-moving-platform

Character falling through moving object using iTween

I everyone! I know that there's some questions like this one, but they didn't seem to quite help me out.

Well, I'm working on a remake of one of my old platform games, though I solved it back then by making my character (a simple ball) a child to the obstacle when it hits it's colliderbox. And also the other way around when it left the colliderbox it went back to "normal".

The test obstacle I'm using right now is a 6x2x100 box. With a iTween script attached to it:

iTween.moveTo(gameObject,{"y":20, "time":2, "loopType":"pingPong"});

Hope my question is clear enough to you guys. In advance Thanks

Comment
Add comment · Show 2
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 Ricardo · Aug 02, 2010 at 03:36 PM 0
Share

Having a hard time discerning the question.

avatar image Jakob Steinn · Aug 02, 2010 at 08:19 PM 0
Share

I'm sorry that i didn't make myself clear enough. $$anonymous$$y problem is that if I try to jump, with my character, onto a an object that is moving up and down, I will fall through it. The weird thing is that when I'm on the object I don't fall straight through it, it behaves like it's some kind of jelly, that I slide through. And if I move, it will take me longer time to fall all the way through?

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by pixelplacement · Sep 11, 2010 at 05:34 AM

There's a new example that shows how you can pull this off on the examples page. Hope it helps! Take a look here!

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 c-Row · May 19, 2011 at 07:13 AM 0
Share

Any suggestions how to apply your example to an object with a Character Controller ins$$anonymous$$d of a RigidBody?

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

No one has followed this question yet.

Related Questions

2D 360 degress platformer example needed 0 Answers

One Way Collider 5 Answers

How to get a Character to move with a moving platform ? 6 Answers

How to prevent Character Controller from falling through moving Platforms? 4 Answers

How to deal the 2d platform physics? 0 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