veryjos / penumbra_vr

VR support for Penumbra: Overture
37 stars 10 forks source link

Experiment with re-enabling physics interactions between held objects and the world #10

Open veryjos opened 7 years ago

veryjos commented 7 years ago

So people can smash the ice without throwing the rock, which seems to be an issue for at least one user's intuition.

sparr commented 5 years ago

Why was this disabled?

veryjos commented 5 years ago

Well, as a foreword, this project is basically dead (although certainly playable in its current state).

The main issue was that every way I tried to move the object and preserve physics in Newton Dynamics (the physics engine Penumbra uses) introduced significant latency.

This means that when you move stuff around, the physics has to be temporarily disabled in order for the game to feel good. Otherwise the object lags behind your hand.

An obvious workaround (in the case that there is literally no way to do this properly in Newton Dynamics) would be to render the object where it should be, and have the invisible physics entity lag behind. That would definitely be a better compromise than the current solution. Right now it's very easy to lose an object by just placing it inside the world somewhere and it drops into the void.