Gravity Engine 2 5.1
|
A kinda kludgy class to position a transform at the true physical surface of a planet and orient the indicated display axis model to be normal to the planets surface. More...
Public Attributes | |
GravityMath.AxisV3 | alignAxis |
float | alignYawDeg = 0.0f |
GSDisplay | gsDisplay |
GSBody | launchBody |
GameObject | shipModel |
A kinda kludgy class to position a transform at the true physical surface of a planet and orient the indicated display axis model to be normal to the planets surface.
Generally the launch site models will be children of this and get their position and orientation from here.
This is used because a mesh sphere will (mostly) have locations where the triangle surfaces are not the correct radius away from the center.
Assumes that this object will be in the heirarchy of a GSDisplay