Announcement

Collapse
No announcement yet.

Grab Component At Location dosent work with MotionController htc vive

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

    Grab Component At Location dosent work with MotionController htc vive

    Hello
    My motionController dosent grab other objects.
    I dont know why the function GrabComponentAtLocation doesnt work with motionController meshes.
    I do not want to use attachComponent to pick up other Actors.
    PawnScreen.png shows blueprints to grab components and
    CarScreen shows object I want to grab
    Thanks for Help
    Click image for larger version

Name:	PawnScreen.png
Views:	1
Size:	448.9 KB
ID:	1212652
    Click image for larger version

Name:	CarScreen.png
Views:	1
Size:	878.2 KB
ID:	1212653
    Last edited by arek2424; 03-08-2017, 05:20 AM.

    #2
    You have to set the physics handle's target location at each Tick. Look at this tutorial, in particular this part right here:
    Click image for larger version

Name:	1410px-PhysicsHandle02.JPG
Views:	1
Size:	130.5 KB
ID:	1124493

    I just implemented the grabbing mechanics with the controller yesterday, but in C++. If you want I can provide the code and then you can maybe convert it to Blueprint.
    TweenMaker | OutlineMaker

    Comment


      #3
      Thank you Beriol for your response but at first I would like to implement as simple grabbing components mechanism as possible . I added setting physicsHandle location every frame and it still doesnt work. I dont know what I am missing.
      Click image for larger version

Name:	GrabingComponentScreen.png
Views:	1
Size:	412.0 KB
ID:	1124680
      Click image for larger version

Name:	SettingPHLocationScreen.png
Views:	1
Size:	235.7 KB
ID:	1124681

      Comment

      Working...
      X