mario galaxy gravity

hey guy’s kinda got the 3rd person character walking around a sphere, like Mario Galaxy, but I’m getting a casting null reference error that I don’t understand. It’s returning null when I think it should by returning the impulse, can anyone explain why this is and where my thinking chair error is? xD thanks Joe