P-152: Virtual World Concept Update 13: Localised Gravity
I have run into a stumbling block with regard to the spherical terrain implementation for this project, so I took some time to work on a different aspect of it.
I have implemented the code changes described HERE which allow for the player class in T3D to be rotated about all axes. By default, the player is only capable of rotating about the Z axis. I have also added code to keep the player aligned to the terrain, as well as modifying the gravity vector so that it is relative to the center of the spherical world object and is not just applied to the negative Z axis.
This means that the player can now walk around spherical and non-flat terrains without falling off. In this example, I have used a mesh object, not a terrain, but this will not make a difference.





