PUN and Ride / Rideable ability question

ChristianWiele

Active member
Hi,

some time ago, I implemented my own solution for the drive ability, which required handling ownership and the controller on my own. Now, I am taking a look at the ride ability. The difference is that the horse also uses UCC as a controller. If I spawn a horse on the master client, then on the character locomotion is disabled on the other client, as everything is controlled on the master. But I would like every player to ride the horse, which doesn't seem possible as the clients cannot start the ability.
Is this correct? Is there a way to switch ownership for the UCC? This would allow to implement a script that switches the ownership upon entering a collider.

Regards, Christian
 
Top