Announcement

Collapse
No announcement yet.

Weapon Raycasting Problem (Limit Angle of beeing spawned)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Weapon Raycasting Problem (Limit Angle of beeing spawned)

    Hi,

    i experimenting with some Top Down Shooter elements. However i followed this tutorial: https://www.youtube.com/watch?v=vulB...W60ER5&index=1

    Now i am at a point where i have to limit the angle of the traces beeing spawned. Its hard to explain what i exactly mean. Look here:

    Click image for larger version

Name:	ingame_example.png
Views:	1
Size:	688.1 KB
ID:	1181729


    And this is the Raycast function:

    Click image for larger version

Name:	spawn trace.png
Views:	1
Size:	421.1 KB
ID:	1181730


    So the traces getting spawned at a Socket at the Weapons Muzzle. But like i said, i do not want that unrealistic angle. Where and how can i change that? Any help appreciated.

    #2
    I mean, its ok if i put my PlayerCharacter in the ActorsToIgnore Array. At least i can not shoot my self that way . But how do i disable the Bullet Impact Emitter on my Character??

    Comment

    Working...
    X