UxrProjectileSource.ShootTo Method

Shoots a round pointing to the given target.

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

Syntax

C#

public void ShootTo(
	int shotTypeIndex,
	Vector3 target
)

Parameters

 

shotTypeIndex
Type: System.Int32
Index in ShotTypes, telling which shot type to fire
target
Type: Vector3
Position where the shot will be going towards

See Also

Reference

UxrProjectileSource Class
UltimateXR.Mechanics.Weapons Namespace