-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anyone get moving platforms to work? #11
Comments
All the rules for Unitys normal CharacterController apply to the CharacterController2D so whatever you used for it should work fine. One method is to parent to the platform. Another similar method is to apply the platforms movement before applying the movement to the CharacterController2D. Mike On Apr 14, 2014, at 4:58 PM, Cactuar1 notifications@github.com wrote: Been messing around with all sorts of scripts to no avail. Dyou reckon we can just do a simple parenting to floor job? — |
If I do parenting the controller wont collide anymore with this platform |
Any one achieved this? |
Yup. Just follow any of the strategies that work for the normal CharacterController such as parenting to a moving platform or adding it's velocity to the characters. Mike On Aug 16, 2015, at 6:44 AM, Aidin Zolghadr notifications@github.com wrote: Any one achieved this? — |
Problem with adding moving platform's speed is the order. I'm not sure whether you should add it's speed before or after to the characters but: A) The order I think is important. Also, which way do you think is better, parenting or adding velocity? A user previously claims that parenting causes a collision problem. |
I've done both ways but A) Parenting won't help me because I need to jump from the moving platform and need to add it's speed to character. Also when shooting. B) I tried to do it manually and when I add moving platform's speed to velocity component, as the platform goes up, character slowly goes inside the platform. Any idea? |
Been messing around with all sorts of scripts to no avail. Dyou reckon we can just do a simple parenting to floor job?
The text was updated successfully, but these errors were encountered: