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

Error Code with mouse constraints #43

Closed Mitayyyy closed 1 year ago

Mitayyyy commented 1 year ago

Description

I am trying to get Mouse Constraints working but I keep getting the error code "ReplicatedStorage.Nature2D.Plugins.MouseConstraint:48: attempt to index nil with 'snap'" I couldn't find any fix on DevForums so I came here, I have the code from the website and tried some others listed on dev forums and they all had the same error message. Do I need any extra variables or is it a simple new code line? Please help :)

So far I have

I have looked on devforums and the website, no youtube videos about it that i can find about the error code or mouse constraints in general.

Lastly

N/A