Hey guys. Could someone help me? Whats the best way to move something like an elevator? I tried many ways but when my Character controller is standing on a rising platform he starts to shake (i’m guessing the elevator collider hits characters collider). Some say to parent the player from the elevetor onTriggerEnter but in my case it does nothing. I use standard Character controller for the player with applying vertical velocity for gravity in .Move() method I also use a SpereCast for ground checking, the elevator model only has a generated collider the one you get when importing an fbx model and right now I use Vector3.MoveTowards to move it up and down. Any help would be great thanks in advance.
Also, after some experimentation I found that if my vertical velocity (gravity) is equal to 0 when I’m grounded, character just falls through the elevator, but if Y velocity isn’t 0 (I have it at 6f) he doesn’t fall but the stuttering occurs…
I posted the scripts here: GitHub - gbagiryan/Unity-Elevator-scripts