Dante-666 / bouncy-ball

hello world game for g3d development and learning
1 stars 0 forks source link

Implement Blackhole physics using behaviors. #43

Closed Dante-666 closed 3 years ago

Dante-666 commented 4 years ago

Having inverse square law makes the ball overshoot in the reverse direction. Need to think of a way to hold the ball in position.

Goal is to make the velocity of the ball zero. May need to derive some equations. Work this out in pen and paper first, then attempt the solution.

%Try Lagrangian multiplier method

Dante-666 commented 4 years ago

Try out the constaints given in Bullet. Some may work out or we may have to implement our own.

Dante-666 commented 4 years ago

Abandon Lag multiplier and try the constraints given in Bullet.

Dante-666 commented 4 years ago

Doing it via physical constraints seems to be the way to go.

https://www.youtube.com/watch?v=MTVdBgQY9LY