top of page

VR Ammo Round

A simple bullet class which can be loaded into the gun(Can be used in revolvers).

Class name:

Include:

Type:

Lines of code:

AVR_AmmoRound

#include "VR/VR_Player/Weapons/VR_AmmoRound.h"

Interactable Actor

104

​General Information

Description

VR Ammo Round is a bullet which can be applied in revolvers etc.


Settings

Caliber - This is an integer variable which is a caliber index.

BulletShellMesh - This is a Static Mesh Compoent of a Bullet shell mesh.

Functions

Fire - Replaces the bullet with shell mesh(BulletShellMesh).

Blueprint API Reference

Public Member Functions

 

Get Sheel
    Returns true if bullet has fired

Output
   bool
 
 

Get Caliber
    Returns the current caliber

Output
   uint8
 
 

Set Caliber
 
Input
   uint8 NewCaliber
 

Fire
 

Protected Attributes

 

UStaticMeshComponent* BulletShellMesh
 

bool bAttacched
 

bool bSheel
 

uint8 Caliber
 

bottom of page