playMaker

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

LordHorusNL

  • Playmaker Newbie
  • *
  • Posts: 9
    • 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?