Timeline for 3D CharacterController ride moving platforms in Unity?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 21, 2022 at 6:46 | comment | added | PepeOjeda | Oh, yeah, sorry, that function is a custom thing. I added the code for it to the answer. What I mean by "common ancestor" is just a GameObject (or, Transform, I guess) that is in the hierarchy of both the constrained object (the player) and the target (the platform). So, for example, a shared parent. For this specific use case a common ancestor probably does not even exist, but the code was meant to be more generic and work in more cases. | |
Jun 21, 2022 at 6:43 | history | edited | PepeOjeda | CC BY-SA 4.0 |
added 493 characters in body
|
Jun 20, 2022 at 21:27 | comment | added | Chris Bannoura |
I'm a little bit confused. I don't work with matrices all that often so it's a little bit hard for me to read. Also, what are ancestors in this case? And how are you finding them in your Utils.FindCommonAncestor function?
|
|
S Jun 20, 2022 at 7:24 | review | First answers | |||
Jun 21, 2022 at 5:52 | |||||
S Jun 20, 2022 at 7:24 | history | answered | PepeOjeda | CC BY-SA 4.0 |