webspace-sdk / webspace-engine

Webspace Engine
Mozilla Public License 2.0
61 stars 9 forks source link

Physics is floaty #90

Open ArceusMaxis opened 1 year ago

ArceusMaxis commented 1 year ago

Description Gravity is too floaty and sometimes objects clip through each other when they are supposed to collide. Frame of reference is manipulating-objects.html in example website.

To Reproduce Steps to reproduce the behavior:

  1. hold a cube
  2. throw it in the sky (notice floatiness - probably because of tick-based physics?)
  3. pick another cube (cubes have collision with each other)
  4. throw at another cube (it may clip through the other cube)

Expected behavior rigid body physics.

Hardware

Additional context Probability of clipping is about 50-50, it happens often when you unplug a laptop from its powersource, feels like its because of screen refresh rate / tick?