Request for a vectorial Gravity

Everything related to 3D programming
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Request for a vectorial Gravity

Post by Psychophanta »

Hi.
There is a WorldGravity() which accepts an unique parameter interpreted as a scalar number for the global 'Y' axis.
However, for many approaches, games and general issues there would be desirable a 3D vector (3 scalar float numbers) as parameter for that native funcion.
Thanks! :)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 426
Joined: Thu Jul 09, 2015 9:07 am

Re: Request for a vectorial Gravity

Post by pf shadoko »

in next PB version
(but I'm curious to see what it's for)
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: Request for a vectorial Gravity

Post by Psychophanta »

pf shadoko wrote:in next PB version
(but I'm curious to see what it's for)
Dear, in real nature, gravity has not a direction up or down.
Even in Earth planet, its gravity vector depends on where is the point you are positionated on its surface.
So it is a 3 dimension vector.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply