CreateUnityPhysicMaterial
CreateUnityPhysicMaterial["name",expr]
creates a Unity physic material component from expr with the specified name.
Details
- CreateUnityPhysicMaterial returns a UnityPhysicMaterial object if created, and $Failed if it cannot be created.
Examples
Basic Examples (1)
To use UnityLink, you need first to load the package:
Create a UnityPhysicMaterial:
Set the physic material of a GameObject using UnityPhysicMaterial:
Find the UnityPhysicMaterial of a collider:
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