jaipack17 / Nature2D

A 2D physics engine for Roblox. Create versatile physics simulations and mechanics with GUIs!
https://jaipack17.github.io/Nature2D/
MIT License
147 stars 8 forks source link

how do I get the MouseConstraint to work? #47

Open Lacymonster opened 1 year ago

Lacymonster commented 1 year ago

Description

I want to be able to move my object with the mouse but I cant figure out where the script goes and how it works.

So far I have

Ive tried placing it in all different spots in the script but none of them worked

Lastly

no

jaipack17 commented 1 year ago

Documentation might help, you need to require the Plugins module from the Nature2D folder, and then call Plugin.MouseConstraint(Engine, range) here range is the radius within which a point can be held with the mouse on click.