This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_component [2025/03/11 15:58] – dragonlord | dragengine:modules:dragonscript:behavior_component [2025/03/13 17:05] (current) – dragonlord | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
<WRAP youarehere> | <WRAP youarehere> | ||
- | [[: | + | [[: |
</ | </ | ||
Line 18: | Line 18: | ||
Hence these two use cases are possible depending on the order the behaviors are added: Shape Collision, Component Collision. See [[# | Hence these two use cases are possible depending on the order the behaviors are added: Shape Collision, Component Collision. See [[# | ||
+ | |||
+ | See also: | ||
+ | * [[gamedev: | ||
+ | * [[tools: | ||
====== Instance Counts ====== | ====== Instance Counts ====== | ||
Line 139: | Line 143: | ||
</ | </ | ||
- | ===== Events ===== | + | ====== Events |
This behavior has no events. | This behavior has no events. | ||
Line 149: | Line 153: | ||
====== Optional Behaviors ====== | ====== Optional Behaviors ====== | ||
- | This behavior does support these optional behaviors: | ||
* [[behavior_collider|ECBehaviorCollider]]: | * [[behavior_collider|ECBehaviorCollider]]: | ||
Line 212: | Line 215: | ||
| | ||
<!-- adding the component will detect the previously added collider and use it --> | <!-- adding the component will detect the previously added collider and use it --> | ||
- | < | + | < |
+ | <!-- optional: set layer mask as list of bits to set. default is ' | ||
+ | | ||
+ | <string name=' | ||
+ | |||
+ | <!-- optional: set render env map layer mask as list of bits to set. default is ' | ||
+ | which means BaseGameApp.WorldLayerBit.envmap . if ' | ||
+ | true this layer mask is OR combined with ' | ||
+ | <string name=' | ||
+ | |||
+ | <!-- optional: set audio layer mask as list of bits to set. default is ' | ||
+ | means BaseGameApp.WorldLayerBit.audio . if ' | ||
+ | true this layer mask is OR combined with ' | ||
+ | <string name=' | ||
+ | |||
+ | <!-- set element properties. omit property prefix if used inside behavior tag --> | ||
+ | <string name=' | ||
+ | </ | ||
</ | </ | ||
</ | </ | ||
Line 222: | Line 242: | ||
< | < | ||
<!-- no collider is present yet so component will not use any collider --> | <!-- no collider is present yet so component will not use any collider --> | ||
- | < | + | < |
+ | ... | ||
+ | </behavior> | ||
| | ||
< | < |