Announcement

Collapse
No announcement yet.

Another Event Hit thread (it really won't work)

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

    Another Event Hit thread (it really won't work)

    Hi there,

    after a couple of hours by reding every thread, i can't get the EventHit work. All i want is to shoot a gun and the bullet, if it hit something (all things that are in a Level), it should spawn an Impact effect.

    But it works only with static meshes, that have the physics enabled. But a wall should not fly away right? So i tryed everything, convert the BSP's to static meshes, set the lightmass index new (like rama says), enabled all collissions (and i fall through the floor ). Nothing. Nadda, niente.

    I use the template projectile (blueprint -> FPS) and the only thing i have changed is the HIT->spawn Emitter on Location. It only work's with static meshes and physic enabled.

    Is there a Workaround for that or is it a bug? BTW: Every wall, floor, and other things that i made have a UCX collision. I've tryed it with no collision boxes, with collision boxes but nothing.

    Hope someone can help me.

    Greetings
    Beregron
    01010100 01101000 01100101 00100000 01110100 01110010 01110101 01110100 01101000 00100000 01101001 01110011 00100000 01101111 01110101 01110100 00100000 01110100 01101000 01100101 01110010 01100101 00101110 00100000 01010100 01110010 01110101 01110011 01110100 00100000 01101110 01101111 00110001 00100001 00100000

    #2
    Post your blueprint of the projectile, specifically the event hit section, and the collision settings.

    Comment


      #3
      Here are the blueprint and the collission Setting.

      Click image for larger version

Name:	Blueprint_03.jpg
Views:	1
Size:	353.9 KB
ID:	1053718Click image for larger version

Name:	Blueprint_04.jpg
Views:	1
Size:	273.0 KB
ID:	1053719


      I don't know whats going on. I have this Problem and the Problem with the particles. (https://forums.unrealengine.com/show...(Muzzle-Flash) I have tryed some tutorials and it is don't work. Hm...maybe i have a bug?
      01010100 01101000 01100101 00100000 01110100 01110010 01110101 01110100 01101000 00100000 01101001 01110011 00100000 01101111 01110101 01110100 00100000 01110100 01101000 01100101 01110010 01100101 00101110 00100000 01010100 01110010 01110101 01110011 01110100 00100000 01101110 01101111 00110001 00100001 00100000

      Comment


        #4
        There is a branch after the hit event that checks whether or not the object it hit is simulating physics or not, if it isn't simulating physics nothing happens. If it is simulating physics it continues with the code/flow and fires of the "Add Impulse at Location" and "Spawn Emitter at Location" nodes. That's why only objects that simulates physics have the effect. Either you can add a "Sequence" node directly after the hit event that goes to the branch and your spawn emitter node, or you can also link the false output of the branch to the spawn emitter too.

        Click image for larger version

Name:	nooodes.png
Views:	1
Size:	206.4 KB
ID:	1053720

        Comment


          #5
          Thank you...i will try it. Hm...it seems that all not so easy

          Edit:
          Thank you. You made my day. I have not seen this stupid is siumulating. Oh man...
          Last edited by Beregron; 08-20-2014, 02:22 PM.
          01010100 01101000 01100101 00100000 01110100 01110010 01110101 01110100 01101000 00100000 01101001 01110011 00100000 01101111 01110101 01110100 00100000 01110100 01101000 01100101 01110010 01100101 00101110 00100000 01010100 01110010 01110101 01110011 01110100 00100000 01101110 01101111 00110001 00100001 00100000

          Comment

          Working...
          X