Object weight in VR

I’m currently playing around with the built in VR blueprints and maps and I’m able to add other static mesh objects that can be picked up, I finally figured out if I move the pivot in maya and import it I can make the object snap to that location, for something like a sword or gun.

However what I’m having difficulty with now is object weight., currently I’m trying a sword, and it seems like it weighs nothing, when I throw it it just spins out of control… I want the object to have a bit of heft to it. I’ve tried changing the weight in the static mesh details of the blueprint. I’ve tried chaning linear and angular dampening… limiting angular velocity… nothing… the object just flies out of control.

I’m just using the basic built in VR blueprint, nothing special yet.

also is there an easier way to set where to grab an object? I’ve tried, sockets and those don’t seem to work very well. setting the pivot in maya does work, I’m sure there’s a better option I just can’t figure it out.

thanks.

Hi,

  • Did you check if the object behaves as intended when not grabbed and thrown (i.e just falling and hitting things). If it does then there might be a problem with the way you are releasing the object when thrown.
  • Normally you should be able to set the grab position using sockets. But another alternative is to use a Physics Handle Component. You add this component to your controller and then use Grab Component at Location with Rotation function to attach object. Finally you would have to update the Handle by setting Target Location and Rotation on your tick event.

Hope this helps.