setAxis

Sets the axis the capsule is aligned with.

Return

This CapsuleOption instance, for chaining.

Parameters

axis

The axis. Use Axis.Y to keep the initial axis.