UxrProjectileSource.GetShotOrigin Method
Gets the current world-space origin 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 GetShotOrigin(
int shotTypeIndex
)
Parameters
- shotTypeIndex
- Type: System.Int32
Index in ShotTypes, telling which shot type to use
Return Value
Type: Vector3
Projectile world-space source
See Also
Reference
UxrProjectileSource Class
UltimateXR.Mechanics.Weapons Namespace