Unity Virtual Reality Projects by Jonathan Linowes

Unity Virtual Reality Projects by Jonathan Linowes

Author:Jonathan Linowes [Неизв.]
Language: eng
Format: epub
Tags: COM057000 - COMPUTERS / Virtual Worlds, COM012040 - COMPUTERS / Programming / Games, COM051310 - COMPUTERS / Programming Languages / C#
Publisher: Packt Publishing
Published: 2018-05-24T10:26:14+00:00


Don't fall off the edge of the world

Now that we have gravity, if we walk off the edge of the ground plane, you'll fall into oblivion. Fixing this isn't a first-person character thing. Just add some railings to the scene.

Use cubes, scaling them to the desired thickness and length and moving them into position. Go ahead and do it. I won't give you the step-by-step instructions for it. For example, I used these transforms:

Scale: 0.1, 0.1, 10.0

Railing 1: Position: -5, 1, 0

Railing 2: Position: 5, 1, 0

Railing 3: Position: 0, 1, -5; Rotation: 0, 90, 0

Railing 4: Position: 0, 1, 5; Rotation: 0, 90, 0



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.