If you have not done so already, complete lab 2B-3 (Textbook exercise 6 in Chapter 2). Create a world-level method with a single parameter for the object being attracted (but not for the car). Use the distance to function and an expression to determine how far each object should move toward the magnet.
This is my assignmanet. I have 'mana' a person, surronded by objects, and they move to the magnet in her hand. I tried making a Parameter, but nothing works the way I want it to.
Say, 'compass' moved to 'magnet' 2.5 meters. While another object might take 4 meters. How would I make a parameter for this to work with the 'distance to' function? (I found it in the functions list, but I can't move it over to work in the way it should. )
((If you have not done so already, complete lab 2B-3 (Textbook exercise 6 in Chapter 2). Create a world-level method with a single parameter for the object being attracted (but not for the car). Use the distance to function and an expression to determine how far each object should move toward the magnet.))