You are correct, I just saw that. Okay so this is inside of the PhysLevel.cpp - SetupPhysicsTickFunctions. I’m trying to fetch the player characters location and use that for my gravity system. I guess the character doesn’t exist yet?
So I think what I’m looking for is a location where the world is set, the player character exists and is accessible, and “simulate physics” has just taken over. Right when it starts. Currently I can modify the FVector inside of PhysLevel.cpp and the gravity after the game starts and simulation is going on will change the direction. I need to be able to modify this value from then on. Any ideas where this would be located?
So what I did here is make a secondary tick method that just goes in afterwards to set the vector to what I need it. This lets me have one physics object (in simulatation mode) . The class calls the method in its tick to force it. Later I’ll have to find a way to have each physics scene hold a list of bodies with each body containing its own direction of gravity.