Unity-Technologies / probuilder-vr

Kinda like ProBuilder, but in virtual reality.
http:/ /procore3d.com/probuilder
84 stars 20 forks source link

Simple locomotion addition- rotate around ray point #11

Closed gabrielw-us closed 7 years ago

gabrielw-us commented 7 years ago

Pseudo-code:

if(Grabber Button Used)

  1. Get ray hit point (exit if nothing hit)
  2. Hide everything except ray-hit object, set background flat grey
  3. Using hand rotation, rotate view around hit point on global y, reversed, so that object appears to be rotating
  4. When Grabber button released, re-enable all hidden objects
gabrielw-us commented 7 years ago

oops this is now a duplicate of #20