piqnt / planck.js

2D JavaScript Physics Engine
http://piqnt.com/planck.js/
MIT License
4.92k stars 238 forks source link

how to predict the trajectories in advance #53

Closed yinxiaomei closed 1 year ago

yinxiaomei commented 6 years ago

just like the table tennis game.

the ball has linearDamping and angularDamping ,is forced apply by one velocity, and collision with the wall ,then moves to anthor angle how could i know the trajectories in advance before the ball is forced apply?

shakiba commented 6 years ago

Probably this example is helpful: http://piqnt.com/planck.js/EdgeShapes