Download

Help with casting

Hello im creating a small pyhsics simulation and the thing Im having most trouble with is casting the information from on object in the scene to another since I dont know how to do it. The image attached is me trying to cast an object of the class im trying to get information from (the is only one of this type of object in the game world). The engine crashes whenever I run it I was wondering if anyone could help me.