Deprecated: Creation of dynamic property Fusion::$sanitize is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/themes/Avada/includes/lib/inc/class-fusion.php on line 143

Deprecated: Creation of dynamic property Avada_Privacy_Embeds::$embed_defaults is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/themes/Avada/includes/class-avada-privacy-embeds.php on line 308

Deprecated: Creation of dynamic property FusionBuilder::$fusion_builder_gutenberg is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-builder.php on line 1895

Deprecated: Creation of dynamic property FusionBuilder::$dynamic_data is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-builder.php on line 1897

Deprecated: Creation of dynamic property FusionSC_Column::$shortcode_attr_id is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-column-element.php on line 123

Deprecated: Creation of dynamic property FusionSC_Column::$shortcode_classname is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-column-element.php on line 124

Deprecated: Creation of dynamic property FusionSC_Column::$shortcode_name is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-column-element.php on line 125

Deprecated: Creation of dynamic property FusionSC_Column::$content_filter is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-column-element.php on line 126

Deprecated: Creation of dynamic property FusionSC_ColumnInner::$shortcode_attr_id is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-column-element.php on line 123

Deprecated: Creation of dynamic property FusionSC_ColumnInner::$shortcode_classname is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-column-element.php on line 124

Deprecated: Creation of dynamic property FusionSC_ColumnInner::$shortcode_name is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-column-element.php on line 125

Deprecated: Creation of dynamic property FusionSC_ColumnInner::$content_filter is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-column-element.php on line 126

Deprecated: Creation of dynamic property FusionSC_RowInner::$shortcode_attr_id is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php on line 39

Deprecated: Creation of dynamic property FusionSC_RowInner::$shortcode_classname is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php on line 40

Deprecated: Creation of dynamic property FusionSC_RowInner::$shortcode_name is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php on line 41

Deprecated: Creation of dynamic property FusionSC_RowInner::$content_filter is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php on line 42

Deprecated: Creation of dynamic property FusionSC_Row::$shortcode_attr_id is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php on line 39

Deprecated: Creation of dynamic property FusionSC_Row::$shortcode_classname is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php on line 40

Deprecated: Creation of dynamic property FusionSC_Row::$shortcode_name is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php on line 41

Deprecated: Creation of dynamic property FusionSC_Row::$content_filter is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php on line 42

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-core/fusion-slider/class-fusion-slider.php on line 77

Warning: Cannot modify header information - headers already sent by (output started at /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php:39) in /home/mherbold/public_html/bravearmy.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php:39) in /home/mherbold/public_html/bravearmy.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php:39) in /home/mherbold/public_html/bravearmy.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php:39) in /home/mherbold/public_html/bravearmy.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php:39) in /home/mherbold/public_html/bravearmy.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php:39) in /home/mherbold/public_html/bravearmy.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Deprecated: Creation of dynamic property FusionSC_Column::$is_nested is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-column-element.php on line 553

Deprecated: Creation of dynamic property FusionSC_FusionText::$params is deprecated in /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/shortcodes/fusion-text.php on line 127

Warning: Cannot modify header information - headers already sent by (output started at /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php:39) in /home/mherbold/public_html/bravearmy.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/mherbold/public_html/bravearmy.com/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php:39) in /home/mherbold/public_html/bravearmy.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":891,"date":"2019-02-03T07:43:18","date_gmt":"2019-02-03T14:43:18","guid":{"rendered":"https:\/\/bravearmy.com\/starflight\/?p=891"},"modified":"2019-02-04T06:00:54","modified_gmt":"2019-02-04T13:00:54","slug":"its-just-an-ordinary-rock-sir","status":"publish","type":"post","link":"https:\/\/bravearmy.com\/starflight\/2019\/02\/03\/its-just-an-ordinary-rock-sir\/","title":{"rendered":"It’s Just an Ordinary Rock, Sir!"},"content":{"rendered":"

Yesterday I spent some time coming up with the component that populates planets with rocks.\u00a0 Not elements, mind you… that’s next.\u00a0 These are just plain old ordinary rocks that you don’t mine.\u00a0 Why?\u00a0 Because if the planet was populated with just elements, it’d look really weird.\u00a0 So having a blend of ordinary rocks dotting the terrain along with elements you can mine should make things look and feel more natural.<\/p>\n

Also, the number of rocks present on a planet is proportional to the mineral density reported by the ship scanner.\u00a0 And, they will generally be placed in the higher elevations.<\/p>\n

I have made it so that you collide with the rocks instead of driving through them.\u00a0 Having the TV drive through 3D objects in the game would just look broken and wrong.\u00a0 The collision behavior works nicely for the most part but will need some fine tuning later to clean up the extreme angle cases.<\/p>\n

I have discovered another weakness in Unity.\u00a0 Unity takes 4 whole seconds to instantiate the 2500 rocks I am placing on the planet.\u00a0 And that is on my bleeding edge 10 core Alienware PC!\u00a0 That is a ridiculous amount of time.\u00a0 So, real-time\u00a0instantiation is a major performance issue with Unity and I’m going to have to try and think of alternative solutions.<\/p>\n

Here is a video showing a nice cruise through the terrain finding and bumping into ordinary non-mineable rocks.<\/p>\n<\/div>