Hello I am trying to make a game where player and a.i charectors fight on actual cyberplanets rather than dynamic terrain. George Pirvu told me that I would have to
Quote:
ust compute the normal of each object and move them in the direction of their normal - that will make them move towards the center of the sphere, keeping them on the surface.


The thing is I don't know where I would 1) put the vec_for_normal (VECTOR* vector, ENTITY* entity, var number); instruction and 2)compute the normal of each object to make them walk on the sphere.

Can you help me with this please? thank you