Gravity Engine 2 3.0
Loading...
Searching...
No Matches
GravityEngine2.LaunchSiteShim Class Reference

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...

Inheritance diagram for GravityEngine2.LaunchSiteShim:

Public Attributes

GravityMath.AxisV3 alignAxis
 
float alignYawDeg = 0.0f
 
GSDisplay gsDisplay
 
GSBody launchBody
 
GameObject shipModel
 

Detailed Description

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


The documentation for this class was generated from the following file: