Can I use Javascript (Unityscript) for Box2D for Unity or Farseer Physics?

I’ve spent a few months learning everything in Unity in Javascript and would prefer to stay in JS wherever possible. Due to the physics I want in my network multiplayer game project I would require some sort of 2D physics system so I can rewind and simulate properly, but I really don’t want to learn C# if I can avoid it.

These are the implementations on the asset store I’ve been looking into:

Box2D for Unity
Farseer for Unity

Would it be possible to use these script / functions in Javascript?

Hello,

Because of the way Unity works (and frankly if it didn’t work this way that would be very bad), all scripts compile down to the same thing. It doesn’t matter if you write var integer:int; or public int integer;, after compiling it they are one and the same.
This allows for cross use of each language. You can always (except in very specific cases) call any function in C# as you can in UnityScript. Sometimes the documentation of packages are only in C# (and rightly so), but translating it is quite easy.
Most projects actually (when using packages) end up having quite a mix of javascript and C#

From a technical point of view, the only real difference between UnityScript and C# are syntax and defaults (as well as missing feature implementations in UnityScript)

Hope this helps,
Benproductions1