playMaker

Author Topic: Grabbing object in VR and velocity?  (Read 378 times)

LordHorusNL

  • Junior Playmaker
  • **
  • Posts: 65
    • View Profile
Grabbing object in VR and velocity?
« on: January 10, 2017, 12:34:47 PM »
Hey guys i'm working on a pickup/interaction system for VR that allows you to pickup and throw objects, this works great when stationary.

However when the camerarig is moving and i drop the object, it does not fall straight down, but falls back from where the player is comming. So it does not take the camerarig velocity into consideration.

I have this and it works great:

Get controller position and velocity
Set parent
Use gravity
Set rigid body constraints
Set velocity
Set angular velocity

Can anybody tell me how i would get the object to fall straight down when moving?

westingtyler

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: Grabbing object in VR and velocity?
« Reply #1 on: April 01, 2017, 11:36:42 AM »
are you using oculus touch controllers in vr? I can't get them to work with playmaker but really want to.