【UE4】bullet

・create new BP Class form “Actor”.

 

add component

Sphere 0.2 x 0.2 x 0.2

・colliion > collision preset   OverlapAllDynamic

projectile movement

    ・Initial speed   1000

    ・prokectile gravity speed    0

bullet-damage

 

Player spawn bullet ( Spawn Actor)spawn_bullet

 

Enemy BP applied damage.

・life (default value = 3)

bullet_damage_enemy

 

 

 

 

 

Leave a Comment.