This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_hitscan [2025/03/11 15:56] – created dragonlord | dragengine:modules:dragonscript:behavior_hitscan [2025/03/13 17:06] (current) – dragonlord | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
<WRAP youarehere> | <WRAP youarehere> | ||
- | [[: | + | [[: |
</ | </ | ||
Line 21: | Line 21: | ||
===== range ===== | ===== range ===== | ||
Set test range. | Set test range. | ||
- | * Full name: '' | + | * Full name: '' |
* Type: float | * Type: float | ||
* Default Value: 20 | * Default Value: 20 | ||
* Restriction: | * Restriction: | ||
- | * Example (*.deeclass) <code xml>< | + | * Example (*.deeclass) <code xml>< |
===== offset ===== | ===== offset ===== | ||
Set test origin offset. | Set test origin offset. | ||
- | * Full name: '' | + | * Full name: '' |
* Type: float | * Type: float | ||
* Default Value: 0 | * Default Value: 0 | ||
* Restriction: | * Restriction: | ||
- | * Example (*.deeclass) <code xml>< | + | * Example (*.deeclass) <code xml>< |
===== origin ===== | ===== origin ===== | ||
Set test origin. | Set test origin. | ||
- | * Full name: '' | + | * Full name: '' |
* Type: 3-component float vector | * Type: 3-component float vector | ||
* Default Value: (0,0,0) | * Default Value: (0,0,0) | ||
- | * Example (*.deeclass) <code xml>< | + | * Example (*.deeclass) <code xml>< |
===== direction ===== | ===== direction ===== | ||
Set test direction. | Set test direction. | ||
- | * Full name: '' | + | * Full name: '' |
* Type: 3-component float vector | * Type: 3-component float vector | ||
* Default Value: (0,0,1) | * Default Value: (0,0,1) | ||
- | * Example (*.deeclass) <code xml>< | + | * Example (*.deeclass) <code xml>< |
===== orientation ===== | ===== orientation ===== | ||
Set test orientation. | Set test orientation. | ||
- | * Full name: '' | + | * Full name: '' |
* Type: 3-component float vector | * Type: 3-component float vector | ||
* Default Value: (0,0,0) | * Default Value: (0,0,0) | ||
- | * Example (*.deeclass) <code xml>< | + | * Example (*.deeclass) <code xml>< |
===== bone ===== | ===== bone ===== | ||
Set test bone. | Set test bone. | ||
- | * Full name: '' | + | * Full name: '' |
* Type: string | * Type: string | ||
* Default Value: empty string | * Default Value: empty string | ||
- | * Example (*.deeclass) <code xml>< | + | * Example (*.deeclass) <code xml>< |
- | ===== Events ===== | + | ====== Events |
This behavior has no events | This behavior has no events | ||
Line 69: | Line 69: | ||
====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
- | This behavior requires these other behaviors: | ||
* [[behavior_collider|ECBehaviorCollider]]: | * [[behavior_collider|ECBehaviorCollider]]: | ||
====== Optional Behaviors ====== | ====== Optional Behaviors ====== | ||
- | This behavior does support these optional behaviors: | ||
* [[behavior_component|ECBehaviorComponent]]: | * [[behavior_component|ECBehaviorComponent]]: | ||