- Home /
How to make a N-S Magnet Javascrip?
Hello, im new to scripting as many otheres. Ive been trying to come up with a script that will allow me to just have an object with one half a "north" feild and the other with a "south" field. If the script then applyed to a secound objet, both will react like regular magnets. N/n or S/s will push them away from them selfs and if N/S then just pull together. Its for a puzzel game that ive been working on. Thank you for spending the time on reading my question and any help in anyway is greatly welcomed.
Your answer
Follow this Question
Related Questions
How to make a N-S magnet Javascript? 1 Answer
How to 'flick' objects in a 2d game 1 Answer
How do I switch from Character player to Airship Vehicle using triggers? 0 Answers
Best way to go about having many fast objects with physics 0 Answers
Can I access Physics2dSettings in Project Settings via script 1 Answer