playMaker

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

LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 226
Grabbing object in VR and velocity?
« on: January 10, 2017, 02: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

  • Sr. Member
  • ****
  • Posts: 277
    • My Video Game Projects Web Site
Re: Grabbing object in VR and velocity?
« Reply #1 on: April 01, 2017, 02:36:42 PM »
are you using oculus touch controllers in vr? I can't get them to work with playmaker but really want to.