07-26-2024, 01:04 AM
Hello, I am looking at buying this asset on the unity asset store, but before I do I would like to know if it is possible for a player (with a character controller component) will move with an object that is animated along a spline while they are on that object?
Here is the specific scenario I am trying to create: I have a train, that is animated along a spline. I have a player character that is set up using the unity starter assets FPS character controller. I want the player to be able to get on the object(train) and move with it when it moves.
I have tried other spline assets such as the unity built in spline package, dreamtech splines... and none of them will work like this. The object simply moves right out from under the player and has no effect on the player at all. I know that this is how unity works by design and I also know there are hacky ways to make this work, but my question is does this asset support objects "riding" on the object that is animated along the spline?
Thanks!
Here is the specific scenario I am trying to create: I have a train, that is animated along a spline. I have a player character that is set up using the unity starter assets FPS character controller. I want the player to be able to get on the object(train) and move with it when it moves.
I have tried other spline assets such as the unity built in spline package, dreamtech splines... and none of them will work like this. The object simply moves right out from under the player and has no effect on the player at all. I know that this is how unity works by design and I also know there are hacky ways to make this work, but my question is does this asset support objects "riding" on the object that is animated along the spline?
Thanks!