|
Re: Almost finished!!! Spherical Planet Gravity Test
[Re: Carlos3DGS]
#268019
05/27/09 08:39
05/27/09 08:39
|
Joined: Jun 2005
Posts: 656
Grafton
User
|
User
Joined: Jun 2005
Posts: 656
|
I will probably just submit it to the AUM or Acknex resources so it dosent get lost.
Basically, just use c_trace aligned with your player to get the normal of the polygon directly beneath, then align your character to it. For convex surface, you really need to interpolate with something like vec_lerp, especially if the surface is low poly.
Not two, not one.
|
|
|
Re: Almost finished!!! Spherical Planet Gravity Test
[Re: Grafton]
#268021
05/27/09 08:45
05/27/09 08:45
|
Joined: Apr 2009
Posts: 298 Southern Oceans
KiwiBoy
Member
|
Member
Joined: Apr 2009
Posts: 298
Southern Oceans
|
I love that demo, play it quite often mindlessly and try and make him drop in funny places looking for the 'forever drop' I dont know if your portal one is the one I pkayed with too but it was another goody.
Use the 'manual' Luke, the manual is your friend. 'Self reminder' My WebPage
|
|
|
Re: Almost finished!!! Spherical Planet Gravity Test
[Re: Grafton]
#268030
05/27/09 09:16
05/27/09 09:16
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
... then align your character to it. ... This is the part I have the problem with. I keep getting gimbal lock near the equator. And I have tried dozens of way around it but no luck. I'd like to see the code of one that works, so I can understand what Im doing stupid wrong. (BTW, I'm running around the inside of a sphere, not the outside)
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: Almost finished!!! Spherical Planet Gravity Test
[Re: Grafton]
#268190
05/27/09 22:06
05/27/09 22:06
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Ooooh. Yummy! Thanks Grafton. Very generous. I dont have time to look at it right now, maybe later today.
WARNING :: I may have questions.
Once again, many thanks...
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
|