Hi everyone! I have been messing around with unity for quite a while now and a got a snag in my script for a mario galaxy type faux gravity.
I keep getting an error saying---- The best overload for the method 'FauxGravityAttractor.Attract(FauxGravityBody)' is not compatible with the argument list '(FauxGravityBody2)'. OR---- Fauxgravity Attractor Does Not Denote A Valid Type.
could someone help me with this snag? Thanks!
It looks like you renamed your script from 'FauxGravityBody' to 'FauxGravtiyBody2'. Either rename it back or change the definition of the Attract function to take a FauxGravityBody2.
answered Nov 30 '10 at 12:46 AM