scenevr / client

:punch: Web client
7 stars 2 forks source link

If you walk up a 45 degree diagonal surface and your computer lags, you get shot into the air. #127

Open Widdershin opened 9 years ago

Widdershin commented 9 years ago

I made a video to demo.

It seems to happen if my laptop lags while walking up a steep diagonal surface. I can reproduce it by walking backwards down one of these surfaces and quickly walking back up.

phenomnomnominal commented 9 years ago

sounds like a #feature

bnolan commented 9 years ago

Heh. Thanks for the video. I guess the problem is in tickPhysics. It should only simulate physics if timeStep < 1000. The other possible cause is that somehow you are intersecting the ramp as you walk up it, and when the physics runs, it creates a repulsion force between the ramp and the player, which if you've intersected it by quite a lot, results in a massive force being applied.

How are you getting your computer to lag?