lo-th / Oimo.js

Lightweight 3d physics engine for javascript
http://lo-th.github.io/Oimo.js
MIT License
3.05k stars 301 forks source link

Semantics / meaning of "kinematic" #58

Open pkivolowitz opened 7 years ago

pkivolowitz commented 7 years ago

Very nice work - I am using oimo.js for teaching my students in a graphics class.

Can you tell me the meaning and effect of marking a body as kinematic? So far I have not seen a difference between this and setting move == false.

Thank you.

lo-th commented 7 years ago

Hi thank's kinematic is for controling mouvement of a body without force

pkivolowitz commented 7 years ago

Thank you.

Please let me know if I have this right.

A body marker kinematic will move as it is directed but will be immune to all forces such as gravity and collision with other bodies?

Thanks

On Fri, Aug 25, 2017 at 7:21 AM, lo-th notifications@github.com wrote:

Hi thank's kinematic is for controling mouvement of a body without force

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lo-th/Oimo.js/issues/58#issuecomment-324903620, or mute the thread https://github.com/notifications/unsubscribe-auth/AD5TQ3PLaYBvDz9j7uK5yJv6nv1nF9Dmks5sbrxkgaJpZM4PClP4 .

lo-th commented 7 years ago

yes no force on it, but only collision with other body http://lo-th.github.io/Oimo.js/index.html#kinematic

ps: no very accurate with rotation have to find better method

fritx commented 6 years ago

Very cool, could be used on space planets?

WREQI commented 6 years ago

@lo-th How to make a rigid body rotate around a point or edge instead of rotating around the center?