Announcement

Collapse
No announcement yet.

Interact/Grab Physics Asset with Motion Controller

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

    Interact/Grab Physics Asset with Motion Controller

    I am using the motion controller from the VR template. I have a physics asset with constraints that I want to be able to grab and move around. I can make contact with it if I close my hand and hit the object. So the physics is enabled. I just cant grab it with my hand. I know how to set up regular static meshes to grab, but how do you do a similar thing with physics assets?

    #2
    Isn't that what Physics Handles are for? This tutorial may be useful:

    https://wiki.unrealengine.com/Pick_U...bject_Tutorial

    Cheers,
    Marco.
    CTO | Head of VR Development - Visit us at http://humanxr.com
    My UE4 Tutorials (mostly VR): https://goo.gl/GUvDyV

    Comment


      #3
      That is for a regular static mesh to pickup. Motion controllers handle picking up objects a little differently, using the Pickup Actor Interface. But I can only seem to get that to work for static meshes. Is there a way to do a similar concept for a physics asset? Like grabbing a mechanical arm and moving the arm around while the base stays anchored to the ground? Something like in this video, but with a character using the VR controllers to grab parts of the arm:
      https://www.youtube.com/watch?v=rHnO3UDHqVs

      Comment


        #4
        Originally posted by DMHokie View Post
        That is for a regular static mesh to pickup. Motion controllers handle picking up objects a little differently, using the Pickup Actor Interface. But I can only seem to get that to work for static meshes. Is there a way to do a similar concept for a physics asset? Like grabbing a mechanical arm and moving the arm around while the base stays anchored to the ground? Something like in this video, but with a character using the VR controllers to grab parts of the arm:
        https://www.youtube.com/watch?v=rHnO3UDHqVs
        You don't need to use physics in this case. Setup inverse kinematics in animation blueprint and move only active bone when player grab it.
        Stand-alone mocap app for Vive Trackers: vrmocapstudio.com
        Marketplace: Vive Mocap Kit / Fingers Solver / VR IK Body Solver / Subtitles to LipSync / Dialogue System with Character Animation
        And random stuff at Youtube

        Comment

        Working...
        X