GreedyMerchant
Member
I'm trying to create a scene in my game where the player walks inside a space station shaped like a cylinder with artificial gravity that lets them walk on the walls and ceiling. I've done this using a custom align to gravity zone ability that ignores the z axis and a gravity zone with an influence multiplier of -1. The problem I'm having is that the player starts veering off course once he starts walking on the walls. I assume this is because the input is relative to the camera and/or scene and not relative to the player. How can I make movement entirely relative to the scene and not to the camera or player?