rotation = direction, how?

Hi!

I am trying to make a platform that, on collision, let’s the user jump with a certain Vector3(). I want to do this based on how the actual mesh is rotated.

So let’s say I tilted a cube, I’d like to somehow transform the object’s rotation to a vector. What’s the best approach to get a ‘direction vector’ in this case?

Thanks

transform.forward or transform.up or transform.right.

Alternatively transform.TransformDirection(Vector3(5, 10, 1));

wow, that seems easy, and I forgot all about this.
Thanks!