UxrProjectileSource.GetShotDirection Method

Gets the current world-space direction of projectiles fired using the given shot type.

Namespace: UltimateXR.Mechanics.Weapons
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public Vector3 GetShotDirection(
	int shotTypeIndex
)

Parameters

 

shotTypeIndex
Type: System.Int32
Index in ShotTypes, telling which shot type to use

Return Value

Type: Vector3
Projectile world-space direction

See Also

Reference

UxrProjectileSource Class
UltimateXR.Mechanics.Weapons Namespace