Announcement

Collapse
No announcement yet.

Can't get collision event if component attached to character.

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

    Can't get collision event if component attached to character.

    Hi guys! Struggling with a problem here:
    I'm doing small leap motion vr setup here, and i can't figure out how to make touchable button attached to the character eg. HUD elements i can interact without mouse...
    So i started with adding Widget, but i had no hit events, so i changed it to box and added box collision same behavior, basically whatever i do i can't generating any hit events with leapmotion hands if object attached to character.
    Maybe anyone has any idea what to try? I'm pretty sure the problem is quite odd, however only thing is left to try to make button in the VR Controller blueprint and see if i can hit that. Other options is to remove capsule component, or try to mess with original blueprint from getnamo that i'm overriding...
    Click image for larger version

Name:	ue4_selfcollision.JPG
Views:	1
Size:	138.4 KB
ID:	1172478
    Click image for larger version

Name:	2016-02-16 18-02-40 Screenshot.png
Views:	1
Size:	947.6 KB
ID:	1172479
    Click image for larger version

Name:	ue4_selfcollision2.JPG
Views:	1
Size:	66.6 KB
ID:	1172480

    #2
    Well, the quick and dirty fix would be to have seperate actor where the button lives repeatedly check your characters transform each tick and just reset its position relative to that.

    Im not at all familiar with the leap motion controller so unless you provided us with more details i cant really help you track down the problem.
    Need another dev on your UE4 project? Send me a shoutout and I'll lend a hand

    Comment


      #3
      Hi man, thanks for the answer, I'm not sure witch exactly details you need, yea i thought about that option with rewriting transform on tick, don't really like that idea to be honest....
      Here is a demo i was looking on to https://www.youtube.com/watch?v=wUGMUWDJjn0 so i thought it would be fun to make something like cockpit with buttons you can press....
      if it helps i'll upload the project for you, otherwise i'm using this plugin https://github.com/getnamo/leap-ue4 configured by default there is LeapBasicEchoCollisionCharacter, so i just inherit from it and added a button...
      Last edited by antokhio; 02-20-2016, 02:01 PM.

      Comment

      Working...
      X