saharan / OimoPhysics

A cross-platform 3D physics engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

about impulse

lo-th opened this issue · comments

Hi
i have a strange bug with oimo
i make ray cast vehicle, that apply impulse from ray position
is working on all engine but oimo do extra Y rotation ?
https://lo-th.github.io/phy/index.html?E=oimo#ray_car

i look applyImpulse function and is look ok ?
so i just to see if you have a idea why ?

🤔 this is weird, maybe I have to look into constraint solvers
The possibilities are:

  1. something is wrong with the applyImpulse function
  2. for some reason, you need an extra math treatment on OimoPhysics (which I think is not preferable though)
  3. the contact solver is not working well in the situation
  4. something else that I can't come up with