Request for a vectorial Gravity

Everything related to 3D programming
User avatar
Psychophanta
Addict
Addict
Posts: 4975
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
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:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 285
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
Addict
Addict
Posts: 4975
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
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:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
Post Reply