Hi, I’m about to create a game that characters might walk on different surfaces with different gravities.
(Here is a demonstration of the level’s gravity Add A Gravity Gun For Fun In My New FPS Framework - YouTube
So I also need
1, mobs can walk on the surfaces
2, mobs might change gravity at runtime
3, mobs can walk from one surface to another.
4, mobs can walk on a sphere
I’ve tried AIPath with a custom gravity, AIPath by default will behave weird if gravity is not pointing downward in world space after run, but will be fine after the first path finding move. Also, if I change the gravity of AIPath, it doesn’t change the rotation keep character up direction correctly by the gravity.
RichAI doesn’t work at all, the character up direction is always Vector3.up of world space.
AIPath and RichAI weird behaviors are in the link
And I haven’t seen any documents talk deeper about gravities, so if I have such need, should I make my own agent class to move the mob?
Another thing is that if I want connected pathfinding results between surfaces and sphereical pathfinding, should I make a custom Graph to scan the level?