deletes the Unity physic material component comp.
deletes the Unity physic material component attached to the UnityGameObject obj.
deletes the Unity physic material component with the specified name.


DeleteUnityPhysicMaterial
deletes the Unity physic material component comp.
deletes the Unity physic material component attached to the UnityGameObject obj.
deletes the Unity physic material component with the specified name.
Details and Options
- DeleteUnityPhysicMaterial destroys the Unity physic material component, and releases all references to it.
- DeleteUnityPhysicMaterial[All] destroys all the physic material components in the current scene.
- DeleteUnityPhysicMaterial is Listable.
Examples
open all close allPossible Issues (1)
A UnityPhysicMaterial cannot be accessed after deletion:
Text
Wolfram Research (2019), DeleteUnityPhysicMaterial, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityPhysicMaterial.html.
CMS
Wolfram Language. 2019. "DeleteUnityPhysicMaterial." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityPhysicMaterial.html.
APA
Wolfram Language. (2019). DeleteUnityPhysicMaterial. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityPhysicMaterial.html
BibTeX
@misc{reference.wolfram_2025_deleteunityphysicmaterial, author="Wolfram Research", title="{DeleteUnityPhysicMaterial}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityPhysicMaterial.html}", note=[Accessed: 18-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_deleteunityphysicmaterial, organization={Wolfram Research}, title={DeleteUnityPhysicMaterial}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityPhysicMaterial.html}, note=[Accessed: 18-August-2025]}