Jump to content

API Component.SetSolid: Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetSolid'''
| width="90%" class="mtx-class-macrohead" | '''SetSolid'''
|-
|-
| colspan="2" | Sets whether a component is checked in collision detections 
| colspan="2" | Sets whether a component is checked in collision detections 

Latest revision as of 14:11, 13 July 2026

SetSolid
Sets whether a component is checked in collision detections 
- HANDLE Target
The component to set the state for 
- BOOL Enabled
True to enable, false to disable 
- NONE Return


Detailed description

A solid component can collide with other solid objects on the panel. If an object is not solid, it will be ignored in collision tests.


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Component.SetSolid(target, true)