2
0
Эх сурвалжийг харах

Controller model example animates models;

bjorn 1 жил өмнө
parent
commit
c96764dbf8

+ 1 - 0
examples/Interaction/Controller_Models/main.lua

@@ -8,6 +8,7 @@ end
 function lovr.draw(pass)
   for hand, model in pairs(models) do
     if lovr.headset.isTracked(hand) then
+      lovr.headset.animate(model)
       pass:draw(model, mat4(lovr.headset.getPose(hand)))
     end
   end