Method Spread
Spread(RideVector3, Single)
Modifies the direction vector on all axis by an ammount between -spreadFactor and +spreadFactor.
Declaration
public static RideVector3 Spread(RideVector3 direction, float spreadFactor)
Parameters
Type | Name | Description |
---|---|---|
RideVector3 | direction | |
System.Single | spreadFactor |
Returns
Type | Description |
---|---|
RideVector3 |