You cant teleport through a portal if ur on a Vehicle using charactercontroller, cause it turns off the controller to use the one on the bike.
basically u have to unmount to tp and then get back up which is dumb..
This code made it able to tp anyways, cuase the portal still see the players _HitBox which has also Player Tag, so by getting that objects parent i still grab the playerentity and can tp... Maybe u can solve this internally, but this works for now.
You cant teleport through a portal if ur on a Vehicle using charactercontroller, cause it turns off the controller to use the one on the bike.
basically u have to unmount to tp and then get back up which is dumb..
This code made it able to tp anyways, cuase the portal still see the players _HitBox which has also Player Tag, so by getting that objects parent i still grab the playerentity and can tp... Maybe u can solve this internally, but this works for now.