Unity learning model and replaced during the Spring Festival

unity version 2017.3.0f3

Angle of rotation unity scene Method

alt + left mouse button
qwer are a few shortcut buttons operation
Here Insert Picture Description

Error and solution

  • Socket: unable to join multicast group, error: provide an invalid parameter.
    (0)
    Here Insert Picture Description
    disregard, clear can be.

  • GetSkeletalActionData error and the like NoData Handle Error
    Here Insert Picture Description
    Here Insert Picture Description
    Error Reason: Path Error
    Solution: Path error messages to the current item stored restart in accordance steamvr, as shown above, i.e., no error is opened. Should not use relative paths, only the current problem appears logical reasoning, the next modification.

unity replacement model summary

Disclaimer: the replacement model, to replace the old model to the new model, other settings already configured, only the replacement of parts.

  • Model Export Import
    Export
    click Assets, choose Export Package, a longer process time, generally require all checked, I just need to export the model, choose modles file, remove the tick include dependencies, to export.
    Here Insert Picture Description
    Here Insert Picture Description
    This is just my current scene inside the old model replaced with a new model, therefore, need to be removed when the export check include dependencies (that is, remove dependency), or after importing the material will be lost.
    Import
    click Assets, select the import package, and then select the custom package, select the file you previously exported, you can import, process longer need to be patient, it could be my computer too bad. .
    Here Insert Picture Description

  • Replace step
    will modles in the model or scene to drag into the interface hierarchy, under the model into hierarchical directory New_interactable.
    Here Insert Picture Description
    For example fritters model, first plane plate placed under New_interactable, then the model we need fritters on a platter, placed well by adjusting the position, it is necessary to verify the position put by vr, how much you need to put fritters .
    To adjust the size of the angle and position of the model by the model in the Inspector interface ransform.
    Here Insert Picture Description
    Position indicates the position. Rotation is used to adjust the angle of rotation. Scale adjust the magnification or scaling.
    Inspector complete interface model is as follows:
    Here Insert Picture Description
    after we have put an end to model physical locations, you need to set it up where we need to amend its own Transform is the other should not be modified, we need to add are Rigidbody, need to modify their content and the figure is consistent. ( Rigidbody Detailed ), also need to add a Mesh Collider, the Convex check, and then select Everything in Cooking Options bar, Convex bar will be more of a Skin Width. Mesh Collider (mesh impacting body) Detailed
    done, can be tested using the VR.

Published 45 original articles · won praise 4 · Views 1573

Guess you like

Origin blog.csdn.net/y18771025420/article/details/104060634