I’ve been working on a bender game in my spare time to improve my python & other skills.
Its a little 3rd person game based on one of my favourite games, Ratchet & Clank.
So i was wondering if there is a way i can change the direction of gravity as done in RAC, to walk up the hexagon walls.
Yes. Look up planetary gravity. Goran has a good tutorial on this. This basically sets the direction of gravity to the origin if I remember correctly but you can just as easily have it set to an empty. Then you will just need to have a trigger that sets which empty to use as the direction of gravity.
The latter part being the hardest I think. Hard to make it smooth but not impossible.
If you want to affect the main character only I’d go for a strong local linear velocity in -z direction on your player like in this spider example on blendswap:
If that’s all you have for your base level- then it’s way too hi-poly. The hexagons can easily be faked with texture maps- same way insomniac does it. I mean 75,000 verts? And you want to push animation, logic, and lighting? At the same time…
Yeah, just use texture maps. A handy way of seeing if extra geometry is useful or not is by looking at its silhouette.