UnityLink`
UnityLink`

CreateUnityPhysicMaterial

CreateUnityPhysicMaterial["name",expr]

creates a Unity physic material component from expr with the specified name.

Details

Examples

Basic Examples  (1)

To use UnityLink, you need first to load the package:

Open a Unity project:

Create a UnityPhysicMaterial:

Set the physic material of a GameObject using UnityPhysicMaterial:

Find the UnityPhysicMaterial of a collider:

Wolfram Research (2019), CreateUnityPhysicMaterial, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityPhysicMaterial.html.

Text

Wolfram Research (2019), CreateUnityPhysicMaterial, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityPhysicMaterial.html.

CMS

Wolfram Language. 2019. "CreateUnityPhysicMaterial." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/CreateUnityPhysicMaterial.html.

APA

Wolfram Language. (2019). CreateUnityPhysicMaterial. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/CreateUnityPhysicMaterial.html

BibTeX

@misc{reference.wolfram_2022_createunityphysicmaterial, author="Wolfram Research", title="{CreateUnityPhysicMaterial}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/CreateUnityPhysicMaterial.html}", note=[Accessed: 13-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2022_createunityphysicmaterial, organization={Wolfram Research}, title={CreateUnityPhysicMaterial}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/CreateUnityPhysicMaterial.html}, note=[Accessed: 13-March-2025 ]}