deletes the Unity constant force component comp.
deletes the Unity constant force component attached to the UnityGameObject obj.
deletes the Unity constant force component with the specified name.


DeleteUnityConstantForce
deletes the Unity constant force component comp.
deletes the Unity constant force component attached to the UnityGameObject obj.
deletes the Unity constant force component with the specified name.
Details and Options
- DeleteUnityConstantForce destroys the Unity constant force component, and releases all references to it.
- DeleteUnityConstantForce[All] destroys all the constant force components in the current scene.
- DeleteUnityConstantForce is Listable.
Examples
open all close allBasic Examples (1)
Possible Issues (1)
A UnityConstantForce cannot be accessed after deletion:

Related Guides
Text
Wolfram Research (2019), DeleteUnityConstantForce, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityConstantForce.html.
CMS
Wolfram Language. 2019. "DeleteUnityConstantForce." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityConstantForce.html.
APA
Wolfram Language. (2019). DeleteUnityConstantForce. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityConstantForce.html
BibTeX
@misc{reference.wolfram_2025_deleteunityconstantforce, author="Wolfram Research", title="{DeleteUnityConstantForce}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityConstantForce.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_deleteunityconstantforce, organization={Wolfram Research}, title={DeleteUnityConstantForce}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityConstantForce.html}, note=[Accessed: 16-August-2025]}