getnamo
(getnamo)
April 12, 2016, 10:00am
430
That’s awesome, can’t wait for the documentation on the new stuff! Ever since I saw Orion I’ve been wanting to try it out.
Also i would like to ask if you could help me out with translating the fingers 3D world position to the widgets local 2D position? Currently I’m taking the rt_middle_a socket position and then using ProjectWorldLocationToWidgetPosition (I’ve also tried ConvertWorldLocationToScreenLocation which performed worse) to set the cursor image I have in my menu widget using SetPosition with the image as a Canvas Slot and I can get the image to move with the hand, but the image moves at a slower ratio than my hand so If I’m at the edges of my Menu then there’s a discrepancy between the finger position and the cursor image’s position. Any idea how I can solve it?
Thanks in advance!
Once you have a collision point on the surface, you need to convert the 3d location into 2d scaled from 0-xMax, 0-yMax where the max values are given by the widget borders set in our widget component.
Don’t know if you’re already aware of this, but there is a problem using the new Orion drivers with the plugin.
If your hand is within view of the camera for ~60 seconds (don’t even have to move just let it sit there) there’s an exception caused within the Leap.dll (access violation, verified problem with the driver doesn’t happen with the 2.x series). It was happening in my blueprints using the “HandMoved” events and I tested it in the RiggedCharacter example as well where it also happened.
Obviously this is a problem with the driver(guess there’s a reason it’s Beta), but I really need this to work in the short term (and it’s mandated to use the newer driver), is there any kind of stop gap available (eating the exception, etc.) on a binary version of the engine? I don’t have the option to build from source otherwise I would just enable C-style exceptions and try-catch and work from there.
Thanks!
P.S. I’m sure you’ve heard this quite a bit, but thanks for all the work you’ve done. I’ve also used your Hydra plugin in a recent project that worked very well!
Can you make a blank blueprint project that can replicate this issue on demand?
Also what hmd are you using?
Pm me your logs from Saved also tell me what HMD you’re using the leap motion with.